mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +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:
parent
4ffa5a3392
commit
042e866ed2
@ -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.
|
||||
|
@ -522,19 +522,6 @@ hpux_thread_stop (ptid_t 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
|
||||
init_hpux_thread_ops (void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user