Simplify tui_show_disassem
authorTom Tromey <tom@tromey.com>
Fri, 5 Jul 2019 18:38:44 +0000 (12:38 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:09 +0000 (14:52 -0600)
commit22c3f4909af125b457564db66e3cb3c56cb9abd3
tree8ff7f692b27ccb30751d9bdc63df5460d61c95fa
parent16cb7910b946bad4b5f4aa69925361004c4e412f
Simplify tui_show_disassem

tui_show_disassem does not need to call tui_add_win_to_layout, because
the callers that could change the layout have already ensured that it
exists.

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

* tui/tui-disasm.c (tui_show_disassem): Add assertion.  Don't call
tui_add_win_to_layout.
gdb/ChangeLog
gdb/tui/tui-disasm.c