summaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-01-12 02:44:45 +0000
committerTom Tromey <tromey@redhat.com>2011-01-12 02:44:45 +0000
commita086a77f42fecf900f7d8c483479a65b140dc9be (patch)
tree387c20b7e3ccea2e9d4b65831dd9a39266ee9b36 /gdb/thread.c
parente4c94ef2808942f5b48023bf9970d1baf45c34ed (diff)
downloadgdb-a086a77f42fecf900f7d8c483479a65b140dc9be.tar.gz
* thread.c (do_captured_thread_select): Emit newline before
printing frame.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index d35a2a665f1..5ced1fa6c91 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -1309,7 +1309,10 @@ do_captured_thread_select (struct ui_out *uiout, void *tidstr)
if (tp->state_ == THREAD_RUNNING)
ui_out_text (uiout, "(running)\n");
else
- print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC);
+ {
+ ui_out_text (uiout, "\n");
+ print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC);
+ }
/* Since the current thread may have changed, see if there is any
exited thread we can now delete. */