aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frame-info.c')
-rw-r--r--gdb/frame-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame-info.c b/gdb/frame-info.c
index 8479120..584222d 100644
--- a/gdb/frame-info.c
+++ b/gdb/frame-info.c
@@ -39,7 +39,7 @@ frame_info_ptr::prepare_reinflate ()
void
frame_info_ptr::reinflate ()
{
- gdb_assert (m_cached_id != null_frame_id);
+ gdb_assert (frame_id_p (m_cached_id));
if (m_ptr == nullptr)
m_ptr = frame_find_by_id (m_cached_id).get ();