aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-05 12:34:31 -0600
committerTom Tromey <tom@tromey.com>2019-08-13 14:52:09 -0600
commitcc0c3ffbc975fe764f6c4746611a836e7a4ce379 (patch)
tree77fdb3d0828b251896652ce65af73b997e12e0fb /gdb/xcoffread.c
parent3f3ffe54e229482bdb0785ae2162f03d60870400 (diff)
downloadgdb-cc0c3ffbc975fe764f6c4746611a836e7a4ce379.zip
gdb-cc0c3ffbc975fe764f6c4746611a836e7a4ce379.tar.gz
gdb-cc0c3ffbc975fe764f6c4746611a836e7a4ce379.tar.bz2
Two simplifications in tui-layout.c
This patch simplifies some code in tui-layout.c. In show_layout, all the layout settings can be handled by a single switch statement. In show_source_disasm_command and show_source_or_disasm_and_command, there is no need to check the current layout, as the caller has already done so. gdb/ChangeLog 2019-08-13 Tom Tromey <tom@tromey.com> * tui/tui-layout.c (show_layout): Unify all layout cases into a single switch. (show_source_disasm_command, show_source_or_disasm_and_command): Don't check current layout.
Diffstat (limited to 'gdb/xcoffread.c')
0 files changed, 0 insertions, 0 deletions