summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_macros.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_macros.h b/AT91SAM7S256/armdebug/Debugger/debug_macros.h
index 0afa0a4..89c7035 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_macros.h
+++ b/AT91SAM7S256/armdebug/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