summaryrefslogtreecommitdiffstats
path: root/gdb/remote-nindy.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-nindy.c
parentf68be6f0888b3b506857929192abfa0900cbca22 (diff)
downloadppe42-binutils-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.gz
ppe42-binutils-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.zip
* 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-nindy.c')
-rw-r--r--gdb/remote-nindy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index d07a515dc3..1e38f3d3bd 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -502,7 +502,8 @@ nindy_fetch_registers(regno)
static void
nindy_prepare_to_store()
{
- nindy_fetch_registers(-1);
+ /* Fetch all regs if they aren't already here. */
+ read_register_bytes (0, NULL, REGISTER_BYTES);
}
static void
OpenPOWER on IntegriCloud