aboutsummaryrefslogtreecommitdiff
path: root/gdb/mem-break.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:02:39 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:02:39 +0000
commit8da95a3048cad9615e407674f8da4e997eb8752f (patch)
treef763a2a2f5b9bf5c3500e5905875fb6b49fac55b /gdb/mem-break.c
parent985969a94f02c64a2e8ff4b0afd8378ed09fca5e (diff)
downloadgdb-8da95a3048cad9615e407674f8da4e997eb8752f.zip
gdb-8da95a3048cad9615e407674f8da4e997eb8752f.tar.gz
gdb-8da95a3048cad9615e407674f8da4e997eb8752f.tar.bz2
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by gdbarch_memory_insert_breakpoint. * mem-break.c (memory_insert_breakpoint): Likewise. * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by gdbarch_memory_remove_breakpoint. * mem-break.c (memory_remove_breakpoint): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
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);
}