summaryrefslogtreecommitdiff
path: root/Debugger
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-07-12 18:10:42 +0800
committerTat-Chee Wan (USM)2011-07-12 18:10:42 +0800
commit47ce28faf2797edf0c3bc7b10f7ae453d1f6a152 (patch)
treecac2df059d451245170142e7766f88d17ae8968d /Debugger
parent22bff6020346e7588983100c04b1d8061ff241e6 (diff)
conditionally exclude dead code from breakpoint handling logic
Diffstat (limited to 'Debugger')
-rw-r--r--Debugger/debug_stub.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index 3848cd4..ed45dd4 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -481,13 +481,15 @@ _dbg__switch2undefmode:
ldr lr, =resume_execution
mov pc, lr /* Exit via UNDEF mode */
+#if 0
_process_manual_breakpoint_thumb:
mov r0, #DBG_MANUAL_BKPT_THUMB /* Setup Breakpoint type before executing common routine */
b _restore_normal_breakpoints
_process_normal_breakpoint_thumb:
mov r0, #DBG_NORMAL_BKPT_THUMB /* Setup Breakpoint type before executing common routine */
- b _restore_normal_breakpoints
+/* b _restore_normal_breakpoints */
+#endif
_restore_normal_breakpoints:
_dbg_set_bkpt_type r0 /* Set Breakpoint Type given value in R0 */