projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d759c5
)
* Handle the possibility that some simulator commands may modify register
author
Frank Ch. Eigler
<fche@redhat.com>
Wed, 12 Aug 1998 13:50:45 +0000
(13:50 +0000)
committer
Frank Ch. Eigler
<fche@redhat.com>
Wed, 12 Aug 1998 13:50:45 +0000
(13:50 +0000)
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.
gdb/remote-sim.c
patch
|
blob
|
history
diff --git
a/gdb/remote-sim.c
b/gdb/remote-sim.c
index 452c631fe42468973617d5a669394877bc0b0952..53d015562492dde62fcfd2c12b0eb70085ed1357 100644
(file)
--- 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 */