ilg-archived / qemu

The GNU MCU Eclipse QEMU
http://gnuarmeclipse.github.io/qemu/
Other
205 stars 78 forks source link

Make BKPT interrupt CPU while in DEBUG #23

Closed ilg-ul closed 7 years ago

ilg-ul commented 7 years ago

During debug sessions, the BKPT instruction, if not semihosting, should interrupt the CPU instead of triggering the DebugMon_Handler.

This makes debug sessions more user friendly for assert(), default handlers, etc, since the debugger directly shows the stop location.

ilg-ul commented 7 years ago

Done.

https://github.com/gnuarmeclipse/qemu/commit/6fca397871cd461a0c50ac23d5b3552000f35316

ilg-ul commented 7 years ago

fixed in 2.6.0-20160728