aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/amd64-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f49c83c..d829269 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-20 Michael Snyder <msnyder@vmware.com>
+
+ * amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.
+
2009-12-20 Joel Brobecker <brobecker@adacore.com>
* darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index b47c4c3..7bb358b 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1928,7 +1928,7 @@ amd64_epilogue_frame_cache (struct frame_info *this_frame, void **this_cache)
struct gdbarch *gdbarch = get_frame_arch (this_frame);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct amd64_frame_cache *cache;
- gdb_byte buf[4];
+ gdb_byte buf[8];
if (*this_cache)
return *this_cache;