aboutsummaryrefslogtreecommitdiff
path: root/gdb/mt-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mt-tdep.c')
-rw-r--r--gdb/mt-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c
index 24eb8e1..5d7f31c 100644
--- a/gdb/mt-tdep.c
+++ b/gdb/mt-tdep.c
@@ -676,12 +676,11 @@ mt_registers_info (struct gdbarch *gdbarch,
{
/* Special output handling for 38-bit context register. */
unsigned char *buff;
- unsigned int *bytes, i, regsize;
+ unsigned int i, regsize;
regsize = register_size (gdbarch, regnum);
buff = (unsigned char *) alloca (regsize);
- bytes = XALLOCAVEC (unsigned int, regsize);
deprecated_frame_register_read (frame, regnum, buff);