Simplify show_source_or_disasm_and_command
authorTom Tromey <tom@tromey.com>
Mon, 1 Jul 2019 06:55:14 +0000 (00:55 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:17 +0000 (12:19 -0600)
commit890b8bde7a07a412bc1085bd4724bd03500b0dc0
tree7b3feadb1139e89fcfcc4506437b597983f15fc2
parent2cdfa11333867dbfcb2a6b631cda989d64f68944
Simplify show_source_or_disasm_and_command

This changes show_source_or_disasm_and_command to unify the creation
and re-initialization cases.

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

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