+2007-12-16 Vladimir Prus <vladimir@codesourcery.com>
+
+ * target.h (target_pid_or_tid_to_str): Remove.
+ * infrun.c (handle_inferior_event):
+ Use target_pid_to_str instead of
+ target_pid_or_tid_to_str.
+ (normal_stop): Likewise.
+
2007-12-16 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
add_thread (ecs->ptid);
ui_out_text (uiout, "[New ");
- ui_out_text (uiout, target_pid_or_tid_to_str (ecs->ptid));
+ ui_out_text (uiout, target_pid_to_str (ecs->ptid));
ui_out_text (uiout, "]\n");
}
{
target_terminal_ours_for_output ();
printf_filtered (_("[Switching to %s]\n"),
- target_pid_or_tid_to_str (inferior_ptid));
+ target_pid_to_str (inferior_ptid));
previous_inferior_ptid = inferior_ptid;
}
#define target_extra_thread_info(TP) \
(current_target.to_extra_thread_info (TP))
-#ifndef target_pid_or_tid_to_str
-#define target_pid_or_tid_to_str(ID) \
- target_pid_to_str (ID)
-#endif
-
/* Attempts to find the pathname of the executable file
that was run to create a specified process.