aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-out.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-09-01 16:12:52 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-09-01 16:12:52 +0000
commit27229e99915e0a4bed28d2a9428a73c34df99415 (patch)
tree547de03607e71b8a36e6f30c80651e15f06dc222 /gdb/tui/tui-out.c
parentcda8ab404866295418b3a8d549cf78f566e0b625 (diff)
downloadgdb-27229e99915e0a4bed28d2a9428a73c34df99415.zip
gdb-27229e99915e0a4bed28d2a9428a73c34df99415.tar.gz
gdb-27229e99915e0a4bed28d2a9428a73c34df99415.tar.bz2
* tui-out.c (tui_out_new): Clear start_of_line.
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines to update the current source line.
Diffstat (limited to 'gdb/tui/tui-out.c')
-rw-r--r--gdb/tui/tui-out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index a8cc58b..71ce5e0 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -398,7 +398,7 @@ tui_out_new (struct ui_file *stream)
data->stream = stream;
data->suppress_output = 0;
data->line = -1;
- data->start_of_line = 1;
+ data->start_of_line = 0;
return ui_out_new (&tui_ui_out_impl, data, flags);
}