GDBserver
Classes | Typedefs | Functions | Variables
ptid.h File Reference

Go to the source code of this file.

Classes

struct  ptid
 

Typedefs

typedef struct ptid ptid_t
 

Functions

ptid_t ptid_build (int pid, long lwp, long tid)
 
ptid_t pid_to_ptid (int pid)
 
int ptid_get_pid (ptid_t ptid)
 
long ptid_get_lwp (ptid_t ptid)
 
long ptid_get_tid (ptid_t ptid)
 
int ptid_equal (ptid_t ptid1, ptid_t ptid2)
 
int ptid_is_pid (ptid_t ptid)
 
int ptid_lwp_p (ptid_t ptid)
 
int ptid_tid_p (ptid_t ptid)
 
int ptid_match (ptid_t ptid, ptid_t filter)
 

Variables

ptid_t null_ptid
 
ptid_t minus_one_ptid
 

Typedef Documentation

typedef struct ptid ptid_t

Definition at line 47 of file ptid.h.

Function Documentation

ptid_t pid_to_ptid ( int  pid)
ptid_t ptid_build ( int  pid,
long  lwp,
long  tid 
)
int ptid_equal ( ptid_t  ptid1,
ptid_t  ptid2 
)
long ptid_get_lwp ( ptid_t  ptid)
int ptid_get_pid ( ptid_t  ptid)
long ptid_get_tid ( ptid_t  ptid)

Definition at line 68 of file ptid.c.

References ptid::tid.

Referenced by ptid_is_pid(), ptid_tid_p(), and target_pid_to_str().

int ptid_is_pid ( ptid_t  ptid)
int ptid_lwp_p ( ptid_t  ptid)

Definition at line 98 of file ptid.c.

References ptid_equal(), and ptid_get_lwp().

Referenced by x86_linux_dr_get(), and x86_linux_dr_set().

int ptid_match ( ptid_t  ptid,
ptid_t  filter 
)
int ptid_tid_p ( ptid_t  ptid)

Definition at line 110 of file ptid.c.

References ptid_equal(), and ptid_get_tid().

Variable Documentation

ptid_t minus_one_ptid
ptid_t null_ptid