GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/linux-nat.h File Reference
#include "target.h"
#include <signal.h>

Go to the source code of this file.

Classes

struct  lwp_info

Defines

#define ALL_LWPS(LP)

Typedefs

typedef void( linux_nat_new_fork_ftype )(struct lwp_info *parent, pid_t child_pid)
typedef void( linux_nat_forget_process_ftype )(pid_t pid)

Functions

void check_for_thread_db (void)
int thread_db_attach_lwp (ptid_t ptid)
void lin_thread_get_thread_signals (sigset_t *mask)
void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored)
int lin_lwp_attach_lwp (ptid_t ptid)
void linux_stop_lwp (struct lwp_info *lwp)
struct lwp_infoiterate_over_lwps (ptid_t filter, int(*callback)(struct lwp_info *, void *), void *data)
struct target_opslinux_target (void)
struct target_opslinux_trad_target (CORE_ADDR(*register_u_offset)(struct gdbarch *, int, int))
void linux_nat_add_target (struct target_ops *)
void linux_nat_set_new_thread (struct target_ops *, void(*)(struct lwp_info *))
void linux_nat_set_new_fork (struct target_ops *ops, linux_nat_new_fork_ftype *fn)
void linux_nat_set_forget_process (struct target_ops *ops, linux_nat_forget_process_ftype *fn)
void linux_nat_forget_process (pid_t pid)
void linux_nat_set_siginfo_fixup (struct target_ops *, int(*)(siginfo_t *, gdb_byte *, int))
void linux_nat_set_prepare_to_resume (struct target_ops *, void(*)(struct lwp_info *))
void linux_nat_switch_fork (ptid_t new_ptid)
int linux_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo)
void linux_nat_set_status_is_event (struct target_ops *t, int(*status_is_event)(int status))

Variables

struct lwp_infolwp_list

Define Documentation

#define ALL_LWPS (   LP)
Value:
for ((LP) = lwp_list;                                                   \
       (LP) != NULL;                                                    \
       (LP) = (LP)->next)

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


Typedef Documentation

typedef void( linux_nat_forget_process_ftype)(pid_t pid)

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

typedef void( linux_nat_new_fork_ftype)(struct lwp_info *parent, pid_t child_pid)

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


Function Documentation

void check_for_thread_db ( void  )

Definition at line 1175 of file linux-thread-db.c.

struct lwp_info* iterate_over_lwps ( ptid_t  filter,
int(*)(struct lwp_info *, void *)  callback,
void *  data 
) [read]

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

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

void lin_thread_get_thread_signals ( sigset_t *  mask)

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

void linux_nat_add_target ( struct target_ops )

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

void linux_nat_forget_process ( pid_t  pid)

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

int linux_nat_get_siginfo ( ptid_t  ptid,
siginfo_t *  siginfo 
)

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

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

void linux_nat_set_new_fork ( struct target_ops ops,
linux_nat_new_fork_ftype fn 
)

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

void linux_nat_set_new_thread ( struct target_ops ,
void(*)(struct lwp_info *)   
)

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

void linux_nat_set_prepare_to_resume ( struct target_ops ,
void(*)(struct lwp_info *)   
)

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

void linux_nat_set_siginfo_fixup ( struct target_ops ,
int(*)(siginfo_t *, gdb_byte *, int  
)

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

void linux_nat_set_status_is_event ( struct target_ops t,
int(*)(int status)  status_is_event 
)

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

void linux_nat_switch_fork ( ptid_t  new_ptid)

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

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

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

void linux_stop_lwp ( struct lwp_info lwp)

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

struct target_ops* linux_target ( void  ) [read]

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

struct target_ops* linux_trad_target ( CORE_ADDR(*)(struct gdbarch *, int, int register_u_offset) [read]

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

Definition at line 478 of file linux-thread-db.c.


Variable Documentation

struct lwp_info* lwp_list

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines