GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/common/ptid.c File Reference
#include "ptid.h"

Go to the source code of this file.

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 = { 0, 0, 0 }
ptid_t minus_one_ptid = { -1, 0, 0 }

Function Documentation

Definition at line 43 of file ptid.c.

ptid_t ptid_build ( int  pid,
long  lwp,
long  tid 
)

Definition at line 30 of file ptid.c.

int ptid_equal ( ptid_t  ptid1,
ptid_t  ptid2 
)

Definition at line 75 of file ptid.c.

long ptid_get_lwp ( ptid_t  ptid)

Definition at line 59 of file ptid.c.

int ptid_get_pid ( ptid_t  ptid)

Definition at line 51 of file ptid.c.

long ptid_get_tid ( ptid_t  ptid)

Definition at line 67 of file ptid.c.

int ptid_is_pid ( ptid_t  ptid)

Definition at line 85 of file ptid.c.

int ptid_lwp_p ( ptid_t  ptid)

Definition at line 97 of file ptid.c.

int ptid_tid_p ( ptid_t  ptid)

Definition at line 109 of file ptid.c.


Variable Documentation

ptid_t minus_one_ptid = { -1, 0, 0 }

Definition at line 25 of file ptid.c.

ptid_t null_ptid = { 0, 0, 0 }

Definition at line 24 of file ptid.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines