GDB (xrefs)
|
#include "gdbthread.h"
Public Member Functions | |
scoped_restore_current_thread () | |
~scoped_restore_current_thread () | |
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 851 of file gdbthread.h.
scoped_restore_current_thread::scoped_restore_current_thread | ( | ) |
Definition at line 1393 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 1387 of file thread.c.
References m_dont_restore, and restore().
scoped_restore_current_thread::DISABLE_COPY_AND_ASSIGN | ( | scoped_restore_current_thread | ) |
|
inline |
Definition at line 860 of file gdbthread.h.
References m_dont_restore.
Referenced by fetch_inferior_event(), and switch_to_thread_if_alive().
|
private |
Definition at line 1359 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 865 of file gdbthread.h.
Referenced by dont_restore(), and ~scoped_restore_current_thread().
|
private |
Definition at line 867 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 875 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 869 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 870 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 866 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().
|
private |
Definition at line 871 of file gdbthread.h.
Referenced by restore(), and scoped_restore_current_thread().