summaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c1
1 files changed, 1 insertions, 0 deletions
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);