diff options
author | David S. Miller <davem@redhat.com> | 2002-04-24 07:12:27 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2002-04-24 07:12:27 +0000 |
commit | 69cdf6a234c156e3c334a15f0e0c7ebeb72c5618 (patch) | |
tree | c8fc79d68d798b361374c3410eeaa37428cd621c | |
parent | 5a595886e4c8918e962b9365bb95533a2e7491ca (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a15a5fd..c24d99d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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); |