summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-08-16 13:34:16 +1000
committerChris Johns <chrisj@rtems.org>2017-08-16 13:34:16 +1000
commit8ad4d937df8b15254d3ac9a8be186b72f31bc0d2 (patch)
treea7265d3649d06e2fa4111e694c6a193e390c261b /cpukit/libdebugger
parentlibdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings. (diff)
downloadrtems-8ad4d937df8b15254d3ac9a8be186b72f31bc0d2.tar.bz2
libdebugger/i386 Fix i386 backend after changes.
Closes #3097.
Diffstat (limited to 'cpukit/libdebugger')
-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,