GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
scoped_restore_current_thread Class Reference

#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
 

Detailed Description

Definition at line 860 of file gdbthread.h.

Constructor & Destructor Documentation

◆ scoped_restore_current_thread() [1/2]

scoped_restore_current_thread::scoped_restore_current_thread ( )

◆ ~scoped_restore_current_thread()

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() [2/2]

scoped_restore_current_thread::scoped_restore_current_thread ( scoped_restore_current_thread && rhs)

Definition at line 1433 of file thread.c.

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

scoped_restore_current_thread::DISABLE_COPY_AND_ASSIGN ( scoped_restore_current_thread )

◆ dont_restore()

void scoped_restore_current_thread::dont_restore ( )
inline

Definition at line 871 of file gdbthread.h.

Referenced by fetch_inferior_event(), and switch_to_thread_if_alive().

◆ restore()

void scoped_restore_current_thread::restore ( )
private

Member Data Documentation

◆ m_dont_restore

bool scoped_restore_current_thread::m_dont_restore = false
private

Definition at line 876 of file gdbthread.h.

Referenced by ~scoped_restore_current_thread().

◆ m_inf

inferior_ref scoped_restore_current_thread::m_inf
private

Definition at line 878 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().

◆ m_lang

enum language scoped_restore_current_thread::m_lang
private

Definition at line 886 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().

◆ m_selected_frame_id

frame_id scoped_restore_current_thread::m_selected_frame_id
private

Definition at line 880 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().

◆ m_selected_frame_level

int scoped_restore_current_thread::m_selected_frame_level
private

Definition at line 881 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().

◆ m_thread

thread_info_ref scoped_restore_current_thread::m_thread
private

Definition at line 877 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().

◆ m_was_stopped

bool scoped_restore_current_thread::m_was_stopped
private

Definition at line 882 of file gdbthread.h.

Referenced by restore(), and scoped_restore_current_thread().


The documentation for this class was generated from the following files: