* solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
instead of write_register (PC_REGNUM, ...).
This commit is contained in:
parent
b4397864d4
commit
982db46057
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
|
||||||
|
instead of write_register (PC_REGNUM, ...).
|
||||||
|
|
||||||
|
|
||||||
2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
|
2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
|
* solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
|
||||||
|
|
|
@ -786,7 +786,7 @@ sunos_solib_create_inferior_hook (void)
|
||||||
if (gdbarch_decr_pc_after_break (current_gdbarch))
|
if (gdbarch_decr_pc_after_break (current_gdbarch))
|
||||||
{
|
{
|
||||||
stop_pc -= 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 ())
|
if (!disable_break ())
|
||||||
|
|
Loading…
Reference in a new issue