GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
linux-nat.h File Reference
#include "nat/linux-nat.h"
#include "inf-ptrace.h"
#include "target.h"
#include <signal.h>

Go to the source code of this file.

Classes

class  linux_nat_target
 
struct  lwp_info
 

Typedefs

using lwp_info_iterator = reference_to_pointer_iterator<intrusive_list<lwp_info>::iterator>
 
using lwp_info_range = iterator_range<lwp_info_iterator>
 
using lwp_info_safe_range = basic_safe_range<lwp_info_range>
 

Functions

lwp_info_range all_lwps ()
 
lwp_info_safe_range all_lwps_safe ()
 
int thread_db_notice_clone (ptid_t parent, ptid_t child)
 
unsigned int lin_thread_get_thread_signal_num (void)
 
int lin_thread_get_thread_signal (unsigned int i)
 
void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored)
 
void linux_stop_and_wait_all_lwps (void)
 
void linux_unstop_all_lwps (void)
 
void linux_nat_switch_fork (ptid_t new_ptid)
 
bool linux_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo)
 

Variables

linux_nat_targetlinux_target
 
enum tribool have_ptrace_getregset
 

Typedef Documentation

◆ lwp_info_iterator

using lwp_info_iterator = reference_to_pointer_iterator<intrusive_list<lwp_info>::iterator>

Definition at line 287 of file linux-nat.h.

◆ lwp_info_range

using lwp_info_range = iterator_range<lwp_info_iterator>

Definition at line 288 of file linux-nat.h.

◆ lwp_info_safe_range

using lwp_info_safe_range = basic_safe_range<lwp_info_range>

Definition at line 289 of file linux-nat.h.

Function Documentation

◆ all_lwps()

lwp_info_range all_lwps ( )

◆ all_lwps_safe()

lwp_info_safe_range all_lwps_safe ( )

Definition at line 646 of file linux-nat.c.

References lwp_list.

Referenced by iterate_over_lwps().

◆ lin_thread_get_thread_signal()

int lin_thread_get_thread_signal ( unsigned int i)
extern

Definition at line 4554 of file linux-nat.c.

References lin_thread_get_thread_signal_num(), and lin_thread_signals.

Referenced by check_thread_signals().

◆ lin_thread_get_thread_signal_num()

unsigned int lin_thread_get_thread_signal_num ( void )
extern

Definition at line 4546 of file linux-nat.c.

References lin_thread_signals.

Referenced by check_thread_signals(), and lin_thread_get_thread_signal().

◆ linux_nat_get_siginfo()

bool linux_nat_get_siginfo ( ptid_t ptid,
siginfo_t * siginfo )

◆ linux_nat_switch_fork()

void linux_nat_switch_fork ( ptid_t new_ptid)

◆ linux_proc_pending_signals()

void linux_proc_pending_signals ( int pid,
sigset_t * pending,
sigset_t * blocked,
sigset_t * ignored )

Definition at line 4091 of file linux-nat.c.

References add_line_to_sigset(), and pid.

Referenced by linux_nat_has_pending_sigint().

◆ linux_stop_and_wait_all_lwps()

void linux_stop_and_wait_all_lwps ( void )
extern

Definition at line 2212 of file linux-nat.c.

References iterate_over_lwps(), stop_callback(), and stop_wait_callback().

Referenced by check_thread_db(), and try_thread_db_load_1().

◆ linux_unstop_all_lwps()

void linux_unstop_all_lwps ( void )
extern

Definition at line 2225 of file linux-nat.c.

References iterate_over_lwps(), and resume_stopped_resumed_lwps().

Referenced by check_thread_db(), and try_thread_db_load_1().

◆ thread_db_notice_clone()

int thread_db_notice_clone ( ptid_t parent,
ptid_t child )
extern

Variable Documentation

◆ have_ptrace_getregset

enum tribool have_ptrace_getregset
extern

◆ linux_target

linux_nat_target* linux_target
extern