GDBserver
Classes | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/common/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)

Variables

ptid_t null_ptid
ptid_t minus_one_ptid

Typedef Documentation

typedef struct ptid ptid_t

Definition at line 42 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 67 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)

Definition at line 85 of file ptid.c.

References ptid_equal(), ptid_get_lwp(), and ptid_get_tid().

Referenced by linux_set_resume_request(), and linux_wait_for_event().

int ptid_lwp_p ( ptid_t  ptid)

Definition at line 97 of file ptid.c.

References ptid_equal(), and ptid_get_lwp().

int ptid_tid_p ( ptid_t  ptid)

Definition at line 109 of file ptid.c.

References ptid_equal(), and ptid_get_tid().


Variable Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines