2009-12-20 Michael Snyder <msnyder@vmware.com>

* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.
This commit is contained in:
Michael Snyder 2009-12-20 19:09:37 +00:00
parent d53a7b30c1
commit 6c10c06bd8
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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;