diff options
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r-- | gdb/remote-vx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index e49d0ed..a45f24f 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -459,7 +459,7 @@ vx_write_register (regno) in_data.bytes = registers; - in_data.len = VX_NUM_REGS * sizeof (REGISTER_TYPE); + in_data.len = VX_NUM_REGS * REGISTER_SIZE; /* XXX change second param to be a proc number */ status = net_ptrace_clnt_call (PTRACE_SETREGS, &ptrace_in, &ptrace_out); |