diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 23:55:34 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 23:55:34 +0000 |
commit | 042e866ed287388ab20597d3868480a2228daaf8 (patch) | |
tree | df6df0937fb26cc2ab901d7a1f6f9913eacab546 /gdb/hpux-thread.c | |
parent | 4ffa5a33921b942a16f4c2d14177d2e5d9d075d3 (diff) | |
download | binutils-042e866ed287388ab20597d3868480a2228daaf8.zip binutils-042e866ed287388ab20597d3868480a2228daaf8.tar.gz binutils-042e866ed287388ab20597d3868480a2228daaf8.tar.bz2 |
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.
Diffstat (limited to 'gdb/hpux-thread.c')
-rw-r--r-- | gdb/hpux-thread.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c index 478b3db..a747ab5 100644 --- a/gdb/hpux-thread.c +++ b/gdb/hpux-thread.c @@ -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) { |