diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:55:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:55:51 +0000 |
commit | b798847d060c439bc350e5fbaf6e8d315b18c727 (patch) | |
tree | e39756e91de6bf6205aea8beb77b9840e1fe2d2e /gdb/solib-sunos.c | |
parent | 849957d956897855dceff00600cc47248f657eaa (diff) | |
download | binutils-gdb-b798847d060c439bc350e5fbaf6e8d315b18c727.tar.gz |
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
gdbarch_decr_pc_after_break.
* tracepoint.c (trace_dump_command): Likewise.
* solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
* linux-thread-db.c (check_event): Likewise.
* linux-nat.c (cancel_breakpoints_callback): Likewise.
* infrun.c (adjust_pc_after_break, normal_stop): Likewise.
* frame.h: Likewise (comment).
* dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
* aix-thread.c (aix_thread_wait): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/solib-sunos.c')
-rw-r--r-- | gdb/solib-sunos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index b87361e9e16..6f5c5894a50 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -777,9 +777,9 @@ sunos_solib_create_inferior_hook (void) the PC as necessary after a breakpoint, disable the breakpoint, and add any shared libraries that were mapped in. */ - if (DECR_PC_AFTER_BREAK) + if (gdbarch_decr_pc_after_break (current_gdbarch)) { - stop_pc -= DECR_PC_AFTER_BREAK; + stop_pc -= gdbarch_decr_pc_after_break (current_gdbarch); write_register (PC_REGNUM, stop_pc); } |