Remove tui_show_disassem_and_update_source
authorTom Tromey <tom@tromey.com>
Wed, 6 Nov 2019 23:09:28 +0000 (16:09 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 16:15:49 +0000 (09:15 -0700)
commit8acfefcc8fc7a346d0ecf3d37ca47c5c43761223
treedc1fce17a2ce6a636a07efd8babbf55b328b689d
parent5ebd54023c160383290f20f492ff871f64b7439a
Remove tui_show_disassem_and_update_source

tui_show_disassem_and_update_source only has a single caller.  This
patch simplifies that caller, by having it call tui_show_disassem, and
then removes tui_show_disassem_and_update_source.

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

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

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