aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-15 00:03:38 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-15 00:03:38 +0000
commitca6724c16a360b6297d7827cfd0173441ccd95c2 (patch)
tree3e1e58042a222bbe8532507bb67f404be5c9e80f /gdb/procfs.c
parent67a659f60e569d0938cb8ce51489514bcf0d4cca (diff)
downloadgdb-ca6724c16a360b6297d7827cfd0173441ccd95c2.zip
gdb-ca6724c16a360b6297d7827cfd0173441ccd95c2.tar.gz
gdb-ca6724c16a360b6297d7827cfd0173441ccd95c2.tar.bz2
Redefine ptid_t to be a struct rather than an int.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 53f0489..5a91ed8 100644
--- a/gdb/procfs.c
+++ b/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 */