convert to_decr_pc_after_break
authorTom Tromey <tromey@redhat.com>
Thu, 16 Jan 2014 18:39:32 +0000 (11:39 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 19 Feb 2014 14:48:47 +0000 (07:48 -0700)
commitc0eca49f4e3382163153a1cdbb090a25b4a32e31
tree925e767f99b1ffb1cff3c7d3bdaff7272efb14cc
parent596b6b39ab5f26a86980bc9aa6cf348d32d244b4
convert to_decr_pc_after_break

This converts to_decr_pc_after_break to the new style of delegation,
removing forward_target_decr_pc_after_break.

2014-02-19  Tom Tromey  <tromey@redhat.com>

* record-btrace.c (record_btrace_decr_pc_after_break): Delegate
directly.
* target-delegates.c: Rebuild.
* target.h (struct target_ops) <to_decr_pc_after_break>: Use
TARGET_DEFAULT_FUNC.
* target.c (default_target_decr_pc_after_break): Rename from
forward_target_decr_pc_after_break.  Simplify.
(target_decr_pc_after_break): Rely on delegation.
gdb/ChangeLog
gdb/record-btrace.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h