Change tui_show_symtab_source to be a method
authorTom Tromey <tom@tromey.com>
Fri, 12 Jul 2019 02:00:07 +0000 (20:00 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 16 Aug 2019 17:28:34 +0000 (11:28 -0600)
commitbb01dbfc041dccab2f2a2818068158f61b4c0fe2
tree01be029c4f8b19808e0445c24ca961e0fb987ced
parent81c82c4b9005acf7865d8a19ee651968e059a848
Change tui_show_symtab_source to be a method

This changes tui_show_symtab_source to be a method on
tui_source_window.

gdb/ChangeLog
2019-08-16  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_update_source_windows_with_addr)
(tui_update_source_windows_with_line): Update.
* tui/tui-source.h (struct tui_source_window)
<show_symtab_source>: Declare.
(tui_show_symtab_source): Don't declare.
* tui/tui-source.c (tui_show_symtab_source): Rename from
tui_show_symtab_source.
gdb/ChangeLog
gdb/tui/tui-source.c
gdb/tui/tui-source.h
gdb/tui/tui-winsource.c