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

#include "windows-nat.h"

Inheritance diagram for windows_nat::windows_process_info:
windows_per_inferior

Public Member Functions

virtual windows_thread_infothread_rec (ptid_t ptid, thread_disposition_type disposition)=0
 
virtual int handle_output_debug_string (struct target_waitstatus *ourstatus)=0
 
virtual void handle_load_dll (const char *dll_name, LPVOID base)=0
 
virtual void handle_unload_dll ()=0
 
virtual bool handle_access_violation (const EXCEPTION_RECORD *rec)=0
 
handle_exception_result handle_exception (struct target_waitstatus *ourstatus, bool debug_exceptions)
 
void dll_loaded_event ()
 
void add_all_dlls ()
 
bool matching_pending_stop (bool debug_events)
 
gdb::optional< pending_stopfetch_pending_stop (bool debug_events)
 
const char * pid_to_exec_file (int)
 

Public Attributes

HANDLE handle = 0
 
DWORD main_thread_id = 0
 
enum gdb_signal last_sig = GDB_SIGNAL_0
 
DEBUG_EVENT current_event {}
 
DWORD desired_stop_thread_id = -1
 
std::vector< pending_stoppending_stops
 
EXCEPTION_RECORD siginfo_er {}
 

Private Member Functions

bool handle_ms_vc_exception (const EXCEPTION_RECORD *rec)
 
void add_dll (LPVOID load_addr)
 
int get_exec_module_filename (char *exe_name_ret, size_t exe_name_max_len)
 

Detailed Description

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

Member Function Documentation

◆ add_all_dlls()

void windows_nat::windows_process_info::add_all_dlls ( )

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

References add_dll().

Referenced by windows_nat_target::do_initial_windows_stuff().

◆ add_dll()

void windows_nat::windows_process_info::add_dll ( LPVOID load_addr)
private

◆ dll_loaded_event()

void windows_nat::windows_process_info::dll_loaded_event ( )

◆ fetch_pending_stop()

gdb::optional< pending_stop > windows_nat::windows_process_info::fetch_pending_stop ( bool debug_events)

◆ get_exec_module_filename()

int windows_nat::windows_process_info::get_exec_module_filename ( char * exe_name_ret,
size_t exe_name_max_len )
private

◆ handle_access_violation()

virtual bool windows_nat::windows_process_info::handle_access_violation ( const EXCEPTION_RECORD * rec)
pure virtual

Implemented in windows_per_inferior.

Referenced by handle_exception().

◆ handle_exception()

handle_exception_result windows_nat::windows_process_info::handle_exception ( struct target_waitstatus * ourstatus,
bool debug_exceptions )

◆ handle_load_dll()

virtual void windows_nat::windows_process_info::handle_load_dll ( const char * dll_name,
LPVOID base )
pure virtual

Implemented in windows_per_inferior.

Referenced by add_dll(), and dll_loaded_event().

◆ handle_ms_vc_exception()

bool windows_nat::windows_process_info::handle_ms_vc_exception ( const EXCEPTION_RECORD * rec)
private

◆ handle_output_debug_string()

virtual int windows_nat::windows_process_info::handle_output_debug_string ( struct target_waitstatus * ourstatus)
pure virtual

Implemented in windows_per_inferior.

◆ handle_unload_dll()

virtual void windows_nat::windows_process_info::handle_unload_dll ( )
pure virtual

Implemented in windows_per_inferior.

◆ matching_pending_stop()

bool windows_nat::windows_process_info::matching_pending_stop ( bool debug_events)

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

References DEBUG_EVENTS, desired_stop_thread_id, and pending_stops.

Referenced by windows_nat_target::windows_continue().

◆ pid_to_exec_file()

const char * windows_nat::windows_process_info::pid_to_exec_file ( int pid)

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

References get_exec_module_filename(), and pid.

Referenced by windows_nat_target::pid_to_exec_file().

◆ thread_rec()

virtual windows_thread_info * windows_nat::windows_process_info::thread_rec ( ptid_t ptid,
thread_disposition_type disposition )
pure virtual

Member Data Documentation

◆ current_event

DEBUG_EVENT windows_nat::windows_process_info::current_event {}

◆ desired_stop_thread_id

DWORD windows_nat::windows_process_info::desired_stop_thread_id = -1

◆ handle

HANDLE windows_nat::windows_process_info::handle = 0

◆ last_sig

enum gdb_signal windows_nat::windows_process_info::last_sig = GDB_SIGNAL_0

◆ main_thread_id

DWORD windows_nat::windows_process_info::main_thread_id = 0

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

◆ pending_stops

std::vector<pending_stop> windows_nat::windows_process_info::pending_stops

◆ siginfo_er

EXCEPTION_RECORD windows_nat::windows_process_info::siginfo_er {}

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