cpukit/libdebugger: Avoid cascade for interrupts

This updates behavior of libdebugger to handle debug exceptions in
interrupt context by temporarily removing a software breakpoint,
stepping, and then resuming afterward.
This commit is contained in:
Kinsey Moore
2022-02-22 16:01:33 -06:00
committed by Joel Sherrill
parent dbdf38ea7b
commit 16d40ce7ff
2 changed files with 104 additions and 6 deletions

View File

@@ -221,6 +221,11 @@ extern int rtems_debugger_target_swbreak_insert(void);
*/
extern int rtems_debugger_target_swbreak_remove(void);
/**
* Determine whether a software breakpoint is configured for the given address.
*/
extern bool rtems_debugger_target_swbreak_is_configured( uintptr_t addr );
/**
* Insert hardware breakpoints into the hardware.
*/