GDB (xrefs)
|
#include "gdbthread.h"
Public Member Functions | |
scoped_restore_current_thread () | |
~scoped_restore_current_thread () | |
scoped_restore_current_thread (scoped_restore_current_thread &&rhs) | |
DISABLE_COPY_AND_ASSIGN (scoped_restore_current_thread) | |
void | dont_restore () |
Private Member Functions | |
void | restore () |
Private Attributes | |
bool | m_dont_restore = false |
thread_info_ref | m_thread |
inferior_ref | m_inf |
frame_id | m_selected_frame_id |
int | m_selected_frame_level |
bool | m_was_stopped |
enum language | m_lang |
Definition at line 860 of file gdbthread.h.
scoped_restore_current_thread::scoped_restore_current_thread | ( | ) |
Definition at line 1418 of file thread.c.
References current_inferior(), current_language, inferior_ptid, inferior_thread(), language_defn::la_language, m_inf, m_lang, m_selected_frame_id, m_selected_frame_level, m_thread, m_was_stopped, save_selected_frame(), and THREAD_STOPPED.
scoped_restore_current_thread::~scoped_restore_current_thread | ( | ) |
Definition at line 1412 of file thread.c.
References m_dont_restore, and restore().
scoped_restore_current_thread::scoped_restore_current_thread | ( | scoped_restore_current_thread && | rhs | ) |
scoped_restore_current_thread::DISABLE_COPY_AND_ASSIGN | ( | scoped_restore_current_thread | ) |
|
inline |
Definition at line 871 of file gdbthread.h.
Referenced by fetch_inferior_event(), and switch_to_thread_if_alive().
|
private |
Definition at line 1384 of file thread.c.
References inferior_ptid, m_inf, m_lang, m_selected_frame_id, m_selected_frame_level, m_thread, m_was_stopped, restore_selected_frame(), set_language(), switch_to_inferior_no_thread(), switch_to_thread(), target_has_memory(), target_has_registers(), target_has_stack(), and THREAD_STOPPED.
Referenced by ~scoped_restore_current_thread().
|
private |
Definition at line 876 of file gdbthread.h.
Referenced by ~scoped_restore_current_thread().
|
private |
Definition at line 878 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 886 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 880 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 881 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 877 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 882 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().