aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-fork.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-05 18:54:50 +0000
committerPedro Alves <palves@redhat.com>2009-02-05 18:54:50 +0000
commit54ba13f733396d107167bf89afd43db66bebe779 (patch)
tree7374f85aa64ed651745876a31b1deb7f1f5aa17d /gdb/linux-fork.c
parent9d49bdc28ad672f6e23e9f33759f73968d6885ff (diff)
downloadgdb-54ba13f733396d107167bf89afd43db66bebe779.zip
gdb-54ba13f733396d107167bf89afd43db66bebe779.tar.gz
gdb-54ba13f733396d107167bf89afd43db66bebe779.tar.bz2
* target.h (target_tid_to_str): Delete.
* thread.c (print_thread_info, thread_apply_all_command) (thread_apply_command, thread_command, do_captured_thread_select): Use target_pid_to_str instead of target_tid_to_str. * linux-fork.c (delete_fork_command): Likewise.
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r--gdb/linux-fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 6d9b1e9..861917d 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -439,7 +439,7 @@ delete_fork_command (char *args, int from_tty)
error (_("Please switch to another fork/checkpoint before deleting the current one"));
if (ptrace (PTRACE_KILL, PIDGET (ptid), 0, 0))
- error (_("Unable to kill pid %s"), target_tid_to_str (ptid));
+ error (_("Unable to kill pid %s"), target_pid_to_str (ptid));
if (from_tty)
printf_filtered (_("Killed %s\n"), target_pid_to_str (ptid));