[PATCH/i386newframe] Don't throw away the cache on amd64

Mark Kettenis kettenis@chello.nl
Sun May 18 17:56:00 GMT 2003


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



More information about the Gdb-patches mailing list