From 4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 10 Sep 1992 19:18:05 +0000 Subject: * 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__. --- gdb/remote-nindy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/remote-nindy.c') diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index d07a515dc3e..1e38f3d3bd4 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 -- cgit v1.2.1