Remove make_command_window
authorTom Tromey <tom@tromey.com>
Mon, 1 Jul 2019 20:26:42 +0000 (14:26 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:18 +0000 (12:19 -0600)
commit76d2be8e92a900558648eeba6b4ff95cba62801e
treebd4e5613dee35ca8feaf7d176058aaca6c367c87
parent890b8bde7a07a412bc1085bd4724bd03500b0dc0
Remove make_command_window

This unifies the creation and re-initialization cases for the command
window.  When this is done, it becomes clear that make_command_window
isn't needed -- it can be replaced with a simple "new", so this is
removed as well.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-layout.c (make_command_window): Remove.
(show_source_disasm_command, show_source_or_disasm_and_command):
Unify creation and re-initialization cases.
gdb/ChangeLog
gdb/tui/tui-layout.c