aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
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);
}