aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
commit4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7 (patch)
treec4d9e392e104317115969459cd0aaec7adae266a /gdb/remote-vx.c
parentf68be6f0888b3b506857929192abfa0900cbca22 (diff)
downloadgdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.zip
gdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.gz
gdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.bz2
* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index 3ba3b88..b9a74fe 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -474,7 +474,8 @@ vx_read_register (regno)
static void
vx_prepare_to_store ()
{
- vx_read_register (-1);
+ /* Fetch all registers, if any of them are not yet fetched. */
+ read_register_bytes (0, NULL, REGISTER_BYTES);
}