diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:03:38 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:03:38 +0000 |
commit | 11bc5832a9da5c23b3df59251c230c5bcce21f2f (patch) | |
tree | 50f0f065461a8b7af6dd698436b44c709296173d /gdb/arm-linux-nat.c | |
parent | 2e9e5ed6071269ff915c1caa9a9735849fd7c15b (diff) | |
download | gdb-11bc5832a9da5c23b3df59251c230c5bcce21f2f.tar.gz |
Redefine ptid_t to be a struct rather than an int.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r-- | gdb/arm-linux-nat.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index 96c78342d10..50368b7adc2 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -79,14 +79,8 @@ static unsigned int os_version, os_major, os_minor, os_release; /* On Linux, threads are implemented as pseudo-processes, in which case we may be tracing more than one process at a time. In that case, inferior_ptid will contain the main process ID and the - individual thread (process) ID mashed together. These macros are - used to separate them out. These definitions should be overridden - if thread support is included. */ - -#if !defined (PIDGET) /* Default definition for PIDGET/TIDGET. */ -#define PIDGET(PID) PID -#define TIDGET(PID) 0 -#endif + individual thread (process) ID. get_thread_id () is used to + get the thread id if it's available, and the process id otherwise. */ int get_thread_id (ptid_t ptid) |