Redefine ptid_t to be a struct rather than an int.
This commit is contained in:
parent
67a659f60e
commit
ca6724c16a
18 changed files with 263 additions and 169 deletions
12
gdb/procfs.c
12
gdb/procfs.c
|
@ -315,18 +315,6 @@ typedef prstatus_t gdb_prstatus_t;
|
|||
typedef prstatus_t gdb_lwpstatus_t;
|
||||
#endif /* NEW_PROC_API */
|
||||
|
||||
|
||||
/* Provide default composite pid manipulation macros for systems that
|
||||
don't have threads. */
|
||||
|
||||
#ifndef PIDGET
|
||||
#define PIDGET(PID) (PID)
|
||||
#define TIDGET(PID) (PID)
|
||||
#endif
|
||||
#ifndef MERGEPID
|
||||
#define MERGEPID(PID, TID) (PID)
|
||||
#endif
|
||||
|
||||
typedef struct procinfo {
|
||||
struct procinfo *next;
|
||||
int pid; /* Process ID */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue