garbage collect target_decr_pc_after_break
authorPedro Alves <palves@redhat.com>
Wed, 4 Mar 2015 20:41:17 +0000 (20:41 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 4 Mar 2015 20:41:17 +0000 (20:41 +0000)
commit527a273ac1b6221cb37f601d211093233afc7aaf
tree7d925cfa2fcfe088c6eb038653a5714d4d304526
parent3e572f71047489eb4f311b0fa15293a7ce83f871
garbage collect target_decr_pc_after_break

record-btrace was the only target making use of this, and it no longer
uses it.

gdb/ChangeLog:
2015-03-04  Pedro Alves  <palves@redhat.com>

* target.h (struct target_ops) <to_decr_pc_after_break>: Delete.
(target_decr_pc_after_break): Delete declaration.
* target.c (default_target_decr_pc_after_break)
(target_decr_pc_after_break): Delete.
* linux-nat.c (check_stopped_by_breakpoint, linux_nat_wait_1): Use
gdbarch_decr_pc_after_break instead of target_decr_pc_after_break.
* linux-thread-db.c (check_event): Likewise.
* infrun.c (adjust_pc_after_break): Likewise.
* darwin-nat.c (cancel_breakpoint): Likewise.
* aix-thread.c (aix_thread_wait): Likewise.
* target-delegates.c: Regenerate.
gdb/ChangeLog
gdb/aix-thread.c
gdb/darwin-nat.c
gdb/infrun.c
gdb/linux-nat.c
gdb/linux-thread-db.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h