From 69cdf6a234c156e3c334a15f0e0c7ebeb72c5618 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 24 Apr 2002 07:12:27 +0000 Subject: [PATCH] 2002-04-20 David S. Miller * sparc-tdep.c (sparc_pop_frame): Only need to allocate SPARC_INTREG_SIZE * 16 bytes for reg_temp. --- gdb/ChangeLog | 5 +++++ gdb/sparc-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a15a5fd079b..c24d99df4a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-20 David S. Miller + + * sparc-tdep.c (sparc_pop_frame): Only need to allocate + SPARC_INTREG_SIZE * 16 bytes for reg_temp. + 2002-04-21 David S. Miller * remote-vxsparc.c (vx_read_register): Fix typo, we want diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 274daa68294..0872b092acc 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); -- 2.30.2