Re: [PATCH for-8.1] target/arm: Special case M-profile in debug_helper.c code

2023-07-22 Thread Richard Henderson
On 7/21/23 15:32, Peter Maydell wrote: A lot of the code called from helper_exception_bkpt_insn() is written assuming A-profile, but we will also call this helper on M-profile CPUs when they execute a BKPT insn. This used to work by accident, but recent changes mean that we will hit an assert

[PATCH for-8.1] target/arm: Special case M-profile in debug_helper.c code

2023-07-21 Thread Peter Maydell
A lot of the code called from helper_exception_bkpt_insn() is written assuming A-profile, but we will also call this helper on M-profile CPUs when they execute a BKPT insn. This used to work by accident, but recent changes mean that we will hit an assert when some of this code calls down into