* aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid.
[deliverable/binutils-gdb.git] / gdb / xtensa-linux-nat.c
index 3fdaa3763fb9c8c624368e5935bc377b92cfb87f..3934165a743464fa190fafa1361fc6fce04fae64 100644 (file)
@@ -48,9 +48,9 @@
 static int
 get_thread_id (ptid_t ptid)
 {
-  int tid = TIDGET (ptid);
+  int tid = ptid_get_lwp (ptid);
   if (0 == tid)
-    tid = PIDGET (ptid);
+    tid = ptid_get_pid (ptid);
   return tid;
 }
 #define GET_THREAD_ID(PTID)    get_thread_id (PTID)
This page took 0.024432 seconds and 4 git commands to generate.