diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-12-02 13:00:47 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-12-07 11:52:59 -0500 |
commit | 1de4b5156345d7cba14224ee12c1121ff061b066 (patch) | |
tree | 0f80e47af255fbfe2e590e7bf451e595f4bde037 /gas | |
parent | b5e7cd5cd3d1f90d0e7e58679a0782816bd5434f (diff) | |
download | gdb-1de4b5156345d7cba14224ee12c1121ff061b066.zip gdb-1de4b5156345d7cba14224ee12c1121ff061b066.tar.gz gdb-1de4b5156345d7cba14224ee12c1121ff061b066.tar.bz2 |
gdb: add invalidate_selected_frame function
Instead of using `select_frame (nullptr)` to invalidate the selected
frame, introduce a function to do that. There is no change in behavior,
but it makes the intent a bit clearer. It also allows adding an assert
in select_frame that fi is not nullptr, so it avoids passing nullptr by
mistake.
Change-Id: I61643f46bc8eca428334513ebdaadab63997bdd0
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions