| commit | 45eca9d9f36985672cb2303b4ea0b3c855961c1d | [log] [tgz] |
|---|---|---|
| author | Simon Marchi <simon.marchi@efficios.com> | Mon Oct 24 16:16:09 2022 -0400 |
| committer | Simon Marchi <simon.marchi@polymtl.ca> | Thu Nov 10 11:33:16 2022 -0500 |
| tree | c492e6d0c1c2e00c052464f5aaf0ceeb2b5c1afe | |
| parent | 73cafdbd1ddd6ebfa21d737e3b69ae5aafd70c23 [diff] |
gdb: use frame_id_p instead of comparing to null_frame_id in frame_info_ptr::reinflate
The assertion
gdb_assert (m_cached_id != null_frame_id);
is always true, as comparing equal to null_frame_id is always false
(it's the first case in frame_id::operator==, not sure why it's not this
way, but that's what it is).
Replace the comparison with a call to frame_id_p.
Approved-By: Tom Tromey <tom@tromey.com>
Change-Id: I93986e6a85ac56353690792552e5b3b4cedec7fb