aboutsummaryrefslogtreecommitdiff
path: root/gdb/mem-break.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mem-break.c')
-rw-r--r--gdb/mem-break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mem-break.c b/gdb/mem-break.c
index 5a8af0f..2122308 100644
--- a/gdb/mem-break.c
+++ b/gdb/mem-break.c
@@ -79,11 +79,11 @@ default_memory_remove_breakpoint (struct bp_target_info *bp_tgt)
int
memory_insert_breakpoint (struct bp_target_info *bp_tgt)
{
- return MEMORY_INSERT_BREAKPOINT (bp_tgt);
+ return gdbarch_memory_insert_breakpoint (current_gdbarch, bp_tgt);
}
int
memory_remove_breakpoint (struct bp_target_info *bp_tgt)
{
- return MEMORY_REMOVE_BREAKPOINT (bp_tgt);
+ return gdbarch_memory_remove_breakpoint (current_gdbarch, bp_tgt);
}