2003-02-02 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / dve3900-rom.c
index 96f45010f61d455748af792eb485432f459a87a5..e7329f8988a7ef0cc57c734021151c0a5e4d57dd 100644 (file)
@@ -455,7 +455,7 @@ static void
 fetch_bitmapped_register (int regno, struct bit_field *bf)
 {
   unsigned long val;
-  unsigned char regbuf[MAX_REGISTER_RAW_SIZE];
+  unsigned char *regbuf = alloca (max_register_size (current_gdbarch));
   char *regname = NULL;
 
   if (regno >= sizeof (r3900_regnames) / sizeof (r3900_regnames[0]))
This page took 0.024583 seconds and 4 git commands to generate.