From 982db460577388598ae5b55747cee059b68b608e Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 15 Jun 2007 22:26:50 +0000 Subject: [PATCH] * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc instead of write_register (PC_REGNUM, ...). --- gdb/ChangeLog | 6 ++++++ gdb/solib-sunos.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3690ec9d567..766e9692992 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-06-15 Ulrich Weigand + + * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc + instead of write_register (PC_REGNUM, ...). + + 2007-06-15 Ulrich Weigand * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index 0717607d659..ef6e41174eb 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -786,7 +786,7 @@ sunos_solib_create_inferior_hook (void) if (gdbarch_decr_pc_after_break (current_gdbarch)) { stop_pc -= gdbarch_decr_pc_after_break (current_gdbarch); - write_register (PC_REGNUM, stop_pc); + write_pc (stop_pc); } if (!disable_break ()) -- 2.30.2