aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-12-16 19:14:23 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-12-16 19:14:23 +0000
commitc95310c6b8cd7408468629923d00d3f9d807f238 (patch)
treef47709b3e511daacfec043177899557e8559d837 /gdb/infrun.c
parent09fa0d7cfd2c880dba946a95700a3fe07881c12d (diff)
downloadgdb-c95310c6b8cd7408468629923d00d3f9d807f238.zip
gdb-c95310c6b8cd7408468629923d00d3f9d807f238.tar.gz
gdb-c95310c6b8cd7408468629923d00d3f9d807f238.tar.bz2
* 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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 44a18ad..9c9b94d 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1335,7 +1335,7 @@ handle_inferior_event (struct execution_control_state *ecs)
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");
}
@@ -3157,7 +3157,7 @@ normal_stop (void)
{
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;
}