aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/frame-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/frame-info.h b/gdb/frame-info.h
index 665f4bd..7159f82 100644
--- a/gdb/frame-info.h
+++ b/gdb/frame-info.h
@@ -71,6 +71,7 @@ public:
: m_ptr (other.m_ptr), m_cached_id (other.m_cached_id)
{
other.m_ptr = nullptr;
+ other.m_cached_id = null_frame_id;
frame_list.push_back (*this);
}