diff options
Diffstat (limited to 'gdb/solib-sunos.c')
-rw-r--r-- | gdb/solib-sunos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index a400e92..8cb2dfe 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -791,7 +791,7 @@ sunos_solib_create_inferior_hook (void) if (gdbarch_decr_pc_after_break (target_gdbarch)) { stop_pc -= gdbarch_decr_pc_after_break (target_gdbarch); - write_pc (stop_pc); + regcache_write_pc (get_current_regcache (), stop_pc); } if (!disable_break ()) |