aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-30 20:46:18 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:16 -0600
commitf4e049775aa3b025501d6b4aae1cdb975505a767 (patch)
tree4bf2a315859770d8cf37e7f204623c88af766064 /gdb/gdb_regex.h
parent0379b8837a875403866e2cf1a0315bee1d8d5694 (diff)
downloadgdb-f4e049775aa3b025501d6b4aae1cdb975505a767.zip
gdb-f4e049775aa3b025501d6b4aae1cdb975505a767.tar.gz
gdb-f4e049775aa3b025501d6b4aae1cdb975505a767.tar.bz2
Simplify show_source_disasm_command
This is the first of a few patches to further simplify window (re-)initialization in tui-layout.c. When changing the layout, a window may be created or, if it already exists, simply resized. These two cases normally are identical, but this was obscured by the way the code was written. This patch changes show_source_disasm_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_disasm_command): Simplify window resetting.
Diffstat (limited to 'gdb/gdb_regex.h')
0 files changed, 0 insertions, 0 deletions