summaryrefslogtreecommitdiff
path: root/Debugger/debug_macros.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-28 07:05:49 +0800
committerTat-Chee Wan (USM)2011-03-28 07:05:49 +0800
commitccdd31be178b67aac1e814fb694ccd6da427f651 (patch)
tree119d1a508d33106296092b52bbe9e484d6c4881e /Debugger/debug_macros.h
parent3207737dbf69847bc91e64a7bec6a7ba3d296658 (diff)
work in progress
Diffstat (limited to 'Debugger/debug_macros.h')
-rw-r--r--Debugger/debug_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debugger/debug_macros.h b/Debugger/debug_macros.h
index 0afa0a4..89c7035 100644
--- a/Debugger/debug_macros.h
+++ b/Debugger/debug_macros.h
@@ -354,7 +354,7 @@
*/
.macro _dbg_getcurrbkpt_index reg
ldr \reg, =debug_curr_breakpoint
- ldr \reg, [\reg]
+ ldrb \reg, [\reg]
.endm
/* _dbg_setcurrbkpt_index
@@ -364,7 +364,7 @@
*/
.macro _dbg_setcurrbkpt_index reg
ldr r1, =debug_curr_breakpoint
- str \reg, [r1]
+ strb \reg, [r1]
.endm
/* _dbg_getabortedinstr_addr