summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 70890e150d4..d01dff4e538 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1277,6 +1277,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline, int noerror)
FILE *stream;
int nlines = stopline - line;
struct cleanup *cleanup;
+ struct ui_out *uiout = current_uiout;
/* Regardless of whether we can open the file, set current_source_symtab. */
current_source_symtab = s;