delete hpux_pid_to_str (unused)
authorJoel Brobecker <brobecker@gnat.com>
Thu, 13 Jan 2011 23:55:34 +0000 (23:55 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 13 Jan 2011 23:55:34 +0000 (23:55 +0000)
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.

gdb/ChangeLog
gdb/hpux-thread.c

index 3490da170adc7bc47b40a25af644df3af35bce43..292ce0035d51842e8513979ded282f0392dbf351 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 478b3db400dfb5193ad616d9ee9d45c227fe7fff..a747ab596dd1c1607bb12bf568e99383594beeea 100644 (file)
@@ -522,19 +522,6 @@ hpux_thread_stop (ptid_t ptid)
   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)
 {
This page took 0.026739 seconds and 4 git commands to generate.