mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
delete hpux_pid_to_str (unused)
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.
This commit is contained in:
@ -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>
|
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* ada-valprint.c (ada_emit_char): Remove strange code.
|
* ada-valprint.c (ada_emit_char): Remove strange code.
|
||||||
|
@ -522,19 +522,6 @@ hpux_thread_stop (ptid_t ptid)
|
|||||||
deprecated_child_ops.to_stop (ptid);
|
deprecated_child_ops.to_stop (ptid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
init_hpux_thread_ops (void)
|
init_hpux_thread_ops (void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user