mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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.
This commit is contained in:
@@ -1117,7 +1117,8 @@ struct target_ops
|
||||
after executing a breakpoint instruction.
|
||||
Defaults to gdbarch_decr_pc_after_break (GDBARCH). */
|
||||
CORE_ADDR (*to_decr_pc_after_break) (struct target_ops *ops,
|
||||
struct gdbarch *gdbarch);
|
||||
struct gdbarch *gdbarch)
|
||||
TARGET_DEFAULT_FUNC (default_target_decr_pc_after_break);
|
||||
|
||||
int to_magic;
|
||||
/* Need sub-structure for target machine related rather than comm related?
|
||||
|
||||
Reference in New Issue
Block a user