GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
windows_nat::windows_thread_info Struct Reference

#include "windows-nat.h"

Public Member Functions

 windows_thread_info (DWORD tid_, HANDLE h_, CORE_ADDR tlb)
 
 DISABLE_COPY_AND_ASSIGN (windows_thread_info)
 
void suspend ()
 
void resume ()
 
const char * thread_name ()
 

Public Attributes

DWORD tid
 
HANDLE h
 
CORE_ADDR thread_local_base
 
int suspended = 0
 
union { 
 
   CONTEXT   context {} 
 
};  
 
bool debug_registers_changed = false
 
bool reload_context = false
 
bool stopped_at_software_breakpoint = false
 
bool pc_adjusted = false
 
gdb::unique_xmalloc_ptr< char > name
 

Detailed Description

Definition at line 37 of file windows-nat.h.

Constructor & Destructor Documentation

◆ windows_thread_info()

windows_nat::windows_thread_info::windows_thread_info ( DWORD tid_,
HANDLE h_,
CORE_ADDR tlb )
inline

Definition at line 39 of file windows-nat.h.

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

windows_nat::windows_thread_info::DISABLE_COPY_AND_ASSIGN ( windows_thread_info )

◆ resume()

void windows_nat::windows_thread_info::resume ( )

Definition at line 107 of file windows-nat.c.

References err, h, stopped_at_software_breakpoint, suspended, and tid.

◆ suspend()

void windows_nat::windows_thread_info::suspend ( )

Definition at line 82 of file windows-nat.c.

References err, h, suspended, and tid.

Referenced by windows_per_inferior::thread_rec().

◆ thread_name()

const char * windows_nat::windows_thread_info::thread_name ( )

Definition at line 124 of file windows-nat.c.

References BOOL, windows_nat::GetThreadDescription, h, name, value, and xmalloc().

Referenced by windows_nat_target::thread_name().

Member Data Documentation

◆ [union]

◆ context

CONTEXT windows_nat::windows_thread_info::context {}

◆ debug_registers_changed

bool windows_nat::windows_thread_info::debug_registers_changed = false

◆ h

HANDLE windows_nat::windows_thread_info::h

◆ name

gdb::unique_xmalloc_ptr<char> windows_nat::windows_thread_info::name

◆ pc_adjusted

bool windows_nat::windows_thread_info::pc_adjusted = false

◆ reload_context

bool windows_nat::windows_thread_info::reload_context = false

◆ stopped_at_software_breakpoint

bool windows_nat::windows_thread_info::stopped_at_software_breakpoint = false

◆ suspended

int windows_nat::windows_thread_info::suspended = 0

Definition at line 72 of file windows-nat.h.

Referenced by resume(), and suspend().

◆ thread_local_base

CORE_ADDR windows_nat::windows_thread_info::thread_local_base

Definition at line 66 of file windows-nat.h.

Referenced by windows_nat_target::get_tib_address().

◆ tid

DWORD windows_nat::windows_thread_info::tid

Definition at line 60 of file windows-nat.h.

Referenced by resume(), and suspend().


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