diff options
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r-- | gdb/remote-sds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 967ad3e..7f16c74 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -456,10 +456,10 @@ sds_fetch_registers (int regno) { unsigned char buf[PBUFSIZ]; int i, retlen; - char *regs = alloca (DEPRECATED_REGISTER_BYTES); + char *regs = alloca (deprecated_register_bytes ()); /* Unimplemented registers read as all bits zero. */ - memset (regs, 0, DEPRECATED_REGISTER_BYTES); + memset (regs, 0, deprecated_register_bytes ()); buf[0] = 18; buf[1] = 1; @@ -493,7 +493,7 @@ static void sds_prepare_to_store (void) { /* Make sure the entire registers array is valid. */ - deprecated_read_register_bytes (0, (char *) NULL, DEPRECATED_REGISTER_BYTES); + deprecated_read_register_bytes (0, (char *) NULL, deprecated_register_bytes ()); } /* Store register REGNO, or all registers if REGNO == -1, from the contents |