2002-04-20 David S. Miller <davem@redhat.com>
authorDavid S. Miller <davem@redhat.com>
Wed, 24 Apr 2002 07:12:27 +0000 (07:12 +0000)
committerDavid S. Miller <davem@redhat.com>
Wed, 24 Apr 2002 07:12:27 +0000 (07:12 +0000)
* sparc-tdep.c (sparc_pop_frame): Only need to allocate
SPARC_INTREG_SIZE * 16 bytes for reg_temp.

gdb/ChangeLog
gdb/sparc-tdep.c

index a15a5fd079b90f91ea99b37ae8350fb7ded360a8..c24d99df4a81b20142708d04ecd8b5dfb808c0d6 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-20  David S. Miller  <davem@redhat.com>
+
+       * sparc-tdep.c (sparc_pop_frame): Only need to allocate
+       SPARC_INTREG_SIZE * 16 bytes for reg_temp.
+
 2002-04-21  David S. Miller  <davem@redhat.com>
 
        * remote-vxsparc.c (vx_read_register): Fix typo, we want
index 274daa682940dedbbb450edaa45bfdf46a2a8715..0872b092acc6feddf0992c6906ecdebfd5bc4908 100644 (file)
@@ -1262,7 +1262,7 @@ sparc_pop_frame (void)
 
       char *reg_temp;
 
-      reg_temp = alloca (REGISTER_BYTES);
+      reg_temp = alloca (SPARC_INTREG_SIZE * 16);
 
       read_memory (fsr[I0_REGNUM], raw_buffer, 8 * SPARC_INTREG_SIZE);