diff options
-rw-r--r-- | gdb/remote-sim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 452c631..53d0155 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -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 */ |