diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:26:50 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:26:50 +0000 |
commit | 982db460577388598ae5b55747cee059b68b608e (patch) | |
tree | 07e031457524aea1afd2777dd2790d759573f9e2 /gdb/solib-sunos.c | |
parent | b4397864d4917119736fe072eef0c5a2954a6857 (diff) | |
download | gdb-982db460577388598ae5b55747cee059b68b608e.zip gdb-982db460577388598ae5b55747cee059b68b608e.tar.gz gdb-982db460577388598ae5b55747cee059b68b608e.tar.bz2 |
* solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
instead of write_register (PC_REGNUM, ...).
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 0717607..ef6e411 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 ()) |