This function is unused, and the default formatting routine does
just fine, I think. On pa-hpux:
[New process 12565, lwp 2513]
[New process 12565, lwp 2514]
So this patch deletes it.
gdb/ChangeLog:
* hpux-thread.c (hpux_pid_to_str): Delete.
+2011-01-13 Joel Brobecker <brobecker@adacore.com>
+
+ * hpux-thread.c (hpux_pid_to_str): Delete.
+
2011-01-13 Joel Brobecker <brobecker@adacore.com>
* ada-valprint.c (ada_emit_char): Remove strange code.
deprecated_child_ops.to_stop (ptid);
}
\f
-/* Convert a pid to printable form. */
-
-char *
-hpux_pid_to_str (ptid_t ptid)
-{
- static char buf[100];
- int pid = PIDGET (ptid);
-
- sprintf (buf, "Thread %ld", ptid_get_tid (ptid));
-
- return buf;
-}
-\f
static void
init_hpux_thread_ops (void)
{