summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libdebugger/rtems-debugger-i386.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-i386.c b/cpukit/libdebugger/rtems-debugger-i386.c
index e9b81863a9..9da6031574 100644
--- a/cpukit/libdebugger/rtems-debugger-i386.c
+++ b/cpukit/libdebugger/rtems-debugger-i386.c
@@ -282,7 +282,7 @@ rtems_debugger_target_write_regs(rtems_debugger_thread* thread)
* for threads blocked in the context switcher.
*/
if (rtems_debugger_thread_flag(thread,
- RTEMS_DEBUGGER_THREAD_FLAG_DEBUGGING)) {
+ RTEMS_DEBUGGER_THREAD_FLAG_EXCEPTION)) {
CPU_Exception_frame* frame = thread->frame;
frame->eax = regs[REG_EAX];
frame->ecx = regs[REG_ECX];
@@ -401,6 +401,21 @@ rtems_debugger_target_exception_to_signal(CPU_Exception_frame* frame)
}
int
+rtems_debugger_target_hwbreak_insert(void)
+{
+ /*
+ * Do nothing, load on exit of the exception handler.
+ */
+ return 0;
+}
+
+int
+rtems_debugger_target_hwbreak_remove(void)
+{
+ return 0;
+}
+
+int
rtems_debugger_target_hwbreak_control(rtems_debugger_target_watchpoint wp,
bool insert,
DB_UINT addr,