aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-04-24 07:12:27 +0000
committerDavid S. Miller <davem@redhat.com>2002-04-24 07:12:27 +0000
commit69cdf6a234c156e3c334a15f0e0c7ebeb72c5618 (patch)
treec8fc79d68d798b361374c3410eeaa37428cd621c /gdb/sparc-tdep.c
parent5a595886e4c8918e962b9365bb95533a2e7491ca (diff)
downloadgdb-69cdf6a234c156e3c334a15f0e0c7ebeb72c5618.zip
gdb-69cdf6a234c156e3c334a15f0e0c7ebeb72c5618.tar.gz
gdb-69cdf6a234c156e3c334a15f0e0c7ebeb72c5618.tar.bz2
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.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 274daa6..0872b09 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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);