diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/nto-procfs.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff6188b..c75ca0d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2014-02-19 Tom Tromey <tromey@redhat.com> + * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' + argument. + (init_procfs_ops): Correctly set to_remove_hw_breakpoint. + +2014-02-19 Tom Tromey <tromey@redhat.com> + * record-btrace.c (record_btrace_decr_pc_after_break): Delegate directly. * target-delegates.c: Rebuild. diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 1b2b2ff..d0bdc90 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -947,7 +947,8 @@ procfs_insert_hw_breakpoint (struct target_ops *self, struct gdbarch *gdbarch, } static int -procfs_remove_hw_breakpoint (struct gdbarch *gdbarch, +procfs_remove_hw_breakpoint (struct target_ops *self, + struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) { return procfs_breakpoint (bp_tgt->placed_address, @@ -1402,7 +1403,7 @@ init_procfs_ops (void) procfs_ops.to_remove_breakpoint = procfs_remove_breakpoint; procfs_ops.to_can_use_hw_breakpoint = procfs_can_use_hw_breakpoint; procfs_ops.to_insert_hw_breakpoint = procfs_insert_hw_breakpoint; - procfs_ops.to_remove_hw_breakpoint = procfs_remove_breakpoint; + procfs_ops.to_remove_hw_breakpoint = procfs_remove_hw_breakpoint; procfs_ops.to_insert_watchpoint = procfs_insert_hw_watchpoint; procfs_ops.to_remove_watchpoint = procfs_remove_hw_watchpoint; procfs_ops.to_stopped_by_watchpoint = procfs_stopped_by_watchpoint; |