* 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.
This commit is contained in:
Pedro Alves
2009-02-05 18:54:50 +00:00
parent 9d49bdc28a
commit 54ba13f733
4 changed files with 15 additions and 11 deletions

View File

@@ -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));