* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / mips-nat.c
index b9d20b700a7b94d41f7b761b566a3d2fec1e5755..cf8a31a837c2fa7bdaeb7a0854db7de1ec77ac5f 100644 (file)
@@ -137,8 +137,9 @@ int
 get_longjmp_target (CORE_ADDR *pc)
 {
   CORE_ADDR jb_addr;
-  char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT];
+  char *buf;
 
+  buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT);
   jb_addr = read_register (A0_REGNUM);
 
   if (target_read_memory (jb_addr + JB_PC * JB_ELEMENT_SIZE, buf,
This page took 0.024051 seconds and 4 git commands to generate.