Re: [PATCH] target/arm: Fix debugging of ARMv8M Secure code

2023-04-12 Thread Peter Maydell
On Tue, 11 Apr 2023 at 19:12, Bartell, Paul wrote: > Bug filed at https://gitlab.com/qemu-project/qemu/-/issues/1590 with binary > attached and some additional logs. > > Adding the qemu-stable list since semihosting and gdb debugging for all > ARMv8M targets is broken in the current stable relea

Re: [PATCH] target/arm: Fix debugging of ARMv8M Secure code

2023-04-11 Thread Bartell, Paul
> On Apr 11, 2023, at 8:24 AM, Peter Maydell wrote: > > On Mon, 10 Apr 2023 at 15:38, Bartell, Paul wrote: >> >> You can reproduce the problem by running gdb against an ARMv8M target >> running secure mode code (the default). >> >> Running qemu with the following arguments : qemu-system-ar

Re: [PATCH] target/arm: Fix debugging of ARMv8M Secure code

2023-04-11 Thread Peter Maydell
On Mon, 10 Apr 2023 at 15:38, Bartell, Paul wrote: > > You can reproduce the problem by running gdb against an ARMv8M target running > secure mode code (the default). > > Running qemu with the following arguments : qemu-system-arm -machine > mps2-an505 -m 16M -cpu cortex-m33 -nographic -semihost

Re: [PATCH] target/arm: Fix debugging of ARMv8M Secure code

2023-04-10 Thread Bartell, Paul
You can reproduce the problem by running gdb against an ARMv8M target running secure mode code (the default). Running qemu with the following arguments : qemu-system-arm -machine mps2-an505 -m 16M -cpu cortex-m33 -nographic -semihosting -monitor null --semihosting-config enable=on,target=native

Re: [PATCH] target/arm: Fix debugging of ARMv8M Secure code

2023-04-07 Thread Richard Henderson
On 4/7/23 17:01, pbart...@amazon.com wrote: From: Paul Bartell Revert changes to arm_cpu_get_phys_page_attrs_debug made in commit 4a35855682cebb89f9630b07aa9fd37c4e8c733b. Commit 4a35855682 modifies the arm_cpu_get_phys_page_attrs_debug function so that it calls get_phys_addr_with_struct rathe