This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH/i386newframe] Don't throw away the cache on amd64
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 May 2003 19:56:35 +0200 (CEST)
- Subject: [PATCH/i386newframe] Don't throw away the cache on amd64
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* x86-64-tdep.c (x86_64_frame_cache): Don't throw away the newly
created cache.
Index: x86-64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/x86-64-tdep.c,v
retrieving revision 1.67.2.3
diff -u -p -r1.67.2.3 x86-64-tdep.c
--- x86-64-tdep.c 18 May 2003 09:44:26 -0000 1.67.2.3
+++ x86-64-tdep.c 18 May 2003 17:55:30 -0000
@@ -910,6 +910,7 @@ x86_64_frame_cache (struct frame_info *n
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);