Redefine ptid_t to be a struct rather than an int.
[deliverable/binutils-gdb.git] / gdb / arm-linux-nat.c
index 96c78342d10a0514806f55da7c492e19b9afb51c..50368b7adc2fab6f9190ba26628a7463272dbbd1 100644 (file)
@@ -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)
This page took 0.024831 seconds and 4 git commands to generate.