aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-winsource.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-winsource.c')
-rw-r--r--gdb/tui/tui-winsource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index fad8d7b..708c2fe 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -413,7 +413,7 @@ tui_source_window_base::refill ()
: cursal.symtab);
}
- update_source_window_as_is (gdbarch, s, content[0].line_or_addr);
+ update_source_window_as_is (gdbarch, s, start_line_or_addr);
}
/* Scroll the source forward or backward horizontally. */