]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/m68klinux-nat.c
2003-05-08 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / m68klinux-nat.c
index 0f0a7d102415f1c45401ba86b28d747997c50135..0cf82fbabbf026d7027351255cb27aee8e8a3df5 100644 (file)
@@ -199,7 +199,7 @@ store_register (int regno)
   register int i;
   unsigned int offset;         /* Offset of registers within the u area.  */
   int tid;
-  char *buf = alloca (MAX_REGISTER_RAW_SIZE);
+  char buf[MAX_REGISTER_SIZE];
 
   if (CANNOT_STORE_REGISTER (regno))
     {