From 13a5de61eb0044105f9ba77397579e9886b406d6 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 13 Jun 2011 15:20:09 +0800 Subject: commented out redundant instruction in breakpoint processing logic --- Debugger/debug_stub.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S index aaf1c85..b7c1253 100644 --- a/Debugger/debug_stub.S +++ b/Debugger/debug_stub.S @@ -621,7 +621,7 @@ _dbg__flush_icache: */ dbg__thumb_bkpt_handler: /* On entry, r0 contains breakpoint index value */ - mov r4, #BKPT16_AUTO_BKPT + /* mov r4, #BKPT16_AUTO_BKPT Redundant?! */ and r4, r0, #BKPT16_AUTO_BKPT /* keep AUTO flag value in r4 */ bic r0, r0, #BKPT16_AUTO_BKPT /* mask out AUTO flag */ _dbg_setcurrbkpt_index r0 /* keep current breakpoint index in memory */ @@ -644,7 +644,7 @@ dbg__thumb_bkpt_handler: */ dbg__arm_bkpt_handler: /* On entry, r0 contains breakpoint index value */ - mov r4, #BKPT32_AUTO_BKPT + /* mov r4, #BKPT32_AUTO_BKPT Redundant?! */ and r4, r0, #BKPT32_AUTO_BKPT /* keep AUTO flag value in r4 */ bic r0, r0, #BKPT32_AUTO_BKPT /* mask out AUTO flag */ _dbg_setcurrbkpt_index r0 /* keep current breakpoint index in memory */ -- cgit v1.2.3