aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r--gdb/tui/tui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index 8bffb30..deb6bb2 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -627,14 +627,14 @@ tui_reset (void)
#endif
void
-tui_show_source (const char *fullname, int line)
+tui_show_source ()
{
struct symtab_and_line cursal = get_current_source_symtab_and_line ();
/* Make sure that the source window is displayed. */
tui_add_win_to_layout (SRC_WIN);
- tui_update_source_windows_with_line (cursal.symtab, line);
+ tui_update_source_windows_with_line (cursal.symtab, cursal.line);
tui_update_locator_fullname (cursal.symtab);
}