diff options
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r-- | gdb/tui/tui-stack.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index 21a8bac..ce7c5ee 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -366,10 +366,9 @@ tui_show_frame_info (struct frame_info *fi) CORE_ADDR low; struct tui_gen_win_info *locator = tui_locator_win_info_ptr (); int source_already_displayed; - struct symtab_and_line sal; CORE_ADDR pc; - find_frame_sal (fi, &sal); + symtab_and_line sal = find_frame_sal (fi); source_already_displayed = sal.symtab != 0 && tui_source_is_displayed (symtab_to_fullname (sal.symtab)); @@ -488,9 +487,6 @@ tui_show_frame_info (struct frame_info *fi) /* Function to initialize gdb commands, for tui window stack manipulation. */ -/* Provide a prototype to silence -Wmissing-prototypes. */ -extern initialize_file_ftype _initialize_tui_stack; - void _initialize_tui_stack (void) { |