aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-06-06 00:33:52 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-06-06 00:33:52 +0000
commitb8fa951a9b0f00619f42a28a044d8e334ff646f8 (patch)
treecd07a26ddd03a0be6e5cdf1ded95a185aa9e46c5 /gdb/infrun.c
parent3d6d0b9dd543449006474e42213089d88ee671c8 (diff)
downloadgdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.zip
gdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.tar.gz
gdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.tar.bz2
* annotate.c (annotate_thread_changed): New function.
* thread.c (thread_command) : Use it. * infrun.c (normal_stop): Use it.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index a1bb287..2960acb 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3605,6 +3605,7 @@ normal_stop (void)
target_terminal_ours_for_output ();
printf_filtered (_("[Switching to %s]\n"),
target_pid_to_str (inferior_ptid));
+ annotate_thread_changed ();
previous_inferior_ptid = inferior_ptid;
}