* regcache.c (write_pc_pid): Restore missing else.
This commit is contained in:
parent
e9c1719407
commit
ade2871640
@ -1,3 +1,7 @@
|
||||
2007-06-21 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* regcache.c (write_pc_pid): Restore missing else.
|
||||
|
||||
2007-06-20 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* regcache.c (regcache_print): Use get_current_regcache ()
|
||||
|
@ -867,7 +867,7 @@ write_pc_pid (CORE_ADDR pc, ptid_t ptid)
|
||||
|
||||
if (gdbarch_write_pc_p (gdbarch))
|
||||
gdbarch_write_pc (gdbarch, regcache, pc);
|
||||
if (gdbarch_pc_regnum (current_gdbarch) >= 0)
|
||||
else if (gdbarch_pc_regnum (current_gdbarch) >= 0)
|
||||
regcache_cooked_write_unsigned (regcache,
|
||||
gdbarch_pc_regnum (current_gdbarch), pc);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user