diff options
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 554ffdb..6e5b440 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -780,9 +780,9 @@ sunos_solib_create_inferior_hook (void) the GDB software break point list. Thus we have to adjust the PC here. */ - if (gdbarch_decr_pc_after_break (current_gdbarch)) + if (gdbarch_decr_pc_after_break (target_gdbarch)) { - stop_pc -= gdbarch_decr_pc_after_break (current_gdbarch); + stop_pc -= gdbarch_decr_pc_after_break (target_gdbarch); write_pc (stop_pc); } |