diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-05-18 17:57:00 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-05-18 17:57:00 +0000 |
commit | 2322c1ae64bce847c7a2b261fe326ce33f453ce2 (patch) | |
tree | a2113e9a468a41f7e448cdcc43442d2d336d33d7 | |
parent | 47475141abc91610c1ec54120a361a059586b77a (diff) | |
download | gdb-2322c1ae64bce847c7a2b261fe326ce33f453ce2.tar.gz |
* x86-64-tdep.c (x86_64_frame_cache): Don't throw away the newly
created cache.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/x86-64-tdep.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 334f52a8105..314b85ffa21 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2003-05-18 Mark Kettenis <kettenis@gnu.org> + * x86-64-tdep.c (x86_64_frame_cache): Don't throw away the newly + created cache. + * i386-tdep.c (i386_frame_cache): Fix indentation of comment. 2003-05-18 Mark Kettenis <kettenis@gnu.org> diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index b1a4f6fd4e6..07262581926 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -910,6 +910,7 @@ x86_64_frame_cache (struct frame_info *next_frame, void **this_cache) return *this_cache; cache = x86_64_alloc_frame_cache (); + *this_cache = cache; frame_unwind_register (next_frame, X86_64_RBP_REGNUM, buf); cache->base = extract_unsigned_integer (buf, 8); |