aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-source.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-12 17:23:18 -0700
committerTom Tromey <tom@tromey.com>2019-12-20 09:15:51 -0700
commit469b073133fa35b54ab4f1bc3dee42ccede84689 (patch)
tree20c20baf4d5e9e3e9e4732148b4d4de3c9bf3e96 /gdb/tui/tui-source.h
parent855f89b3da22a2673b177b2ab99f49974c1ed0e7 (diff)
downloadgdb-469b073133fa35b54ab4f1bc3dee42ccede84689.zip
gdb-469b073133fa35b54ab4f1bc3dee42ccede84689.tar.gz
gdb-469b073133fa35b54ab4f1bc3dee42ccede84689.tar.bz2
Remove tui_source_window::show_symtab_source
tui_source_window::show_symtab_source is identical to update_source_window, so remove the former. gdb/ChangeLog 2019-12-20 Tom Tromey <tom@tromey.com> * tui/tui-winsource.c (tui_update_source_windows_with_addr) (tui_update_source_windows_with_line): Call update_source_window. * tui/tui-source.h (struct tui_source_window) <show_symtab_source>: Don't declare. * tui/tui-source.c (tui_source_window::show_symtab_source): Remove. Change-Id: I41781df2126e8bafad46d058532d52602a288e06
Diffstat (limited to 'gdb/tui/tui-source.h')
-rw-r--r--gdb/tui/tui-source.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h
index 15d1429..a573ce4 100644
--- a/gdb/tui/tui-source.h
+++ b/gdb/tui/tui-source.h
@@ -56,9 +56,6 @@ struct tui_source_window : public tui_source_window_base
do_erase_source_content (_("[ No Source Available ]"));
}
- void show_symtab_source (struct gdbarch *, struct symtab *,
- struct tui_line_or_address);
-
protected:
void do_scroll_vertical (int num_to_scroll) override;