aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
diff options
context:
space:
mode:
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 d07a515..1e38f3d 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