* Handle the possibility that some simulator commands may modify register
state behind gdb's back. Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com> * remote-sim.c (simulator_command): Reset register cache after simulator command.
This commit is contained in:
parent
3d759c53c9
commit
902459f256
1 changed files with 4 additions and 0 deletions
|
@ -911,6 +911,10 @@ simulator_command (args, from_tty)
|
|||
}
|
||||
|
||||
sim_do_command (gdbsim_desc, args);
|
||||
|
||||
/* Invalidate the register cache, in case the simulator command does
|
||||
something funny. */
|
||||
registers_changed ();
|
||||
}
|
||||
|
||||
/* Define the target subroutine names */
|
||||
|
|
Loading…
Reference in a new issue