* remote-mips.c (mips_load): Don't use pseudo-register when
invalidating regcache.
This commit is contained in:
parent
52a47f1b54
commit
97b0f3e261
|
@ -1,3 +1,8 @@
|
|||
2010-02-26 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* remote-mips.c (mips_load): Don't use pseudo-register when
|
||||
invalidating regcache.
|
||||
|
||||
2010-02-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
|
||||
|
|
|
@ -3292,7 +3292,7 @@ mips_load (char *file, int from_tty)
|
|||
to a different value than GDB thinks it has. The following ensures
|
||||
that the regcache_write_pc() WILL update the PC value: */
|
||||
regcache_invalidate (regcache,
|
||||
gdbarch_pc_regnum (get_regcache_arch (regcache)));
|
||||
mips_regnum (get_regcache_arch (regcache))->pc);
|
||||
}
|
||||
if (exec_bfd)
|
||||
regcache_write_pc (regcache, bfd_get_start_address (exec_bfd));
|
||||
|
|
Loading…
Reference in New Issue