aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-01-12 02:44:48 +0000
committerTom Tromey <tromey@redhat.com>2011-01-12 02:44:48 +0000
commit988713056b6173387ec3d4f646aea97fdf236991 (patch)
treea5a845b5cc337164585c540537be4c45a213a819 /gdb/thread.c
parent581e13c1888512fde1bd3ff9e46f1a3ec4c337d7 (diff)
downloadbinutils-988713056b6173387ec3d4f646aea97fdf236991.zip
binutils-988713056b6173387ec3d4f646aea97fdf236991.tar.gz
binutils-988713056b6173387ec3d4f646aea97fdf236991.tar.bz2
* 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 d35a2a6..5ced1fa 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. */