Remove tui_show_disassem
authorTom Tromey <tom@tromey.com>
Wed, 13 Nov 2019 00:19:59 +0000 (17:19 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 16:15:51 +0000 (09:15 -0700)
commit855f89b3da22a2673b177b2ab99f49974c1ed0e7
treec0bad500c5be42b2d396834ef81357d0887c63cf
parentd4669c0fc75ad5ad2e99748f9307b5038955f9d3
Remove tui_show_disassem

tui_show_disassem is just a wrapper for the update_source_window
method, and it only has a single caller.  This removes the function
and inlines the logic into that caller.

gdb/ChangeLog
2019-12-20  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_update_source_windows_with_addr): Call
update_source_window directly.
* tui/tui-disasm.h (tui_show_disassem): Don't declare.
* tui/tui-disasm.c (tui_show_disassem): Remove.

Change-Id: I7ae7a3309f64a4a949c07a80c46e1664c7f12913
gdb/ChangeLog
gdb/tui/tui-disasm.c
gdb/tui/tui-disasm.h
gdb/tui/tui-winsource.c