gdb: Fix build failure in xml-tdesc.c without expat.
[deliverable/binutils-gdb.git] / gdb / inferior.c
index 8f9ac3358b2b52b43723a90de1ce292297a4edf0..45b31419f4635b9eaef22d3ae8ae745fafba145e 100644 (file)
@@ -748,8 +748,8 @@ inferior_command (char *args, int from_tty)
          switch_to_thread (tp->ptid);
        }
 
-      printf_filtered (_("[Switching to thread %d (%s)] "),
-                      pid_to_thread_id (inferior_ptid),
+      printf_filtered (_("[Switching to thread %s (%s)] "),
+                      print_thread_id (inferior_thread ()),
                       target_pid_to_str (inferior_ptid));
     }
   else
This page took 0.026947 seconds and 4 git commands to generate.