From 6c10c06bd8fd036dd8da1232acc51bbe22086d93 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sun, 20 Dec 2009 19:09:37 +0000 Subject: [PATCH] 2009-12-20 Michael Snyder * amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size. --- gdb/ChangeLog | 4 ++++ gdb/amd64-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f49c83c09d0..d829269e5f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-12-20 Michael Snyder + + * amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size. + 2009-12-20 Joel Brobecker * darwin-nat-info.c, solib-spu.c, spu-multiarch.c, diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index b47c4c3160d..7bb358bc427 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; -- 2.30.2