Darwin: set startup-with-shell to off on Sierra and later.
[deliverable/binutils-gdb.git] / gdb / i386-cygwin-tdep.c
index 20ae5a3280afe917c1f9a1dd0a47f7a2c8358852..ed75ea37419906c65001fbddb13f85cfed3bbfeb 100644 (file)
@@ -183,9 +183,9 @@ i386_windows_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
 {
   static char buf[80];
 
-  if (ptid_get_lwp (ptid) != 0)
+  if (ptid.lwp () != 0)
     {
-      snprintf (buf, sizeof (buf), "Thread 0x%lx", ptid_get_lwp (ptid));
+      snprintf (buf, sizeof (buf), "Thread 0x%lx", ptid.lwp ());
       return buf;
     }
 
This page took 0.023558 seconds and 4 git commands to generate.