aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2015-05-21 00:45:26 +0200
committerAndrew Burgess <andrew.burgess@embecosm.com>2015-05-21 20:48:34 +0200
commit880d1e40c771e4a389d0b29bf196b50f1b696ea9 (patch)
treed3815a8986be7a608113883b4de4b48f5c63f5d5 /config
parenta014503004ad016d754bc9a4b143973ee18b0bbf (diff)
downloadgdb-880d1e40c771e4a389d0b29bf196b50f1b696ea9.zip
gdb-880d1e40c771e4a389d0b29bf196b50f1b696ea9.tar.gz
gdb-880d1e40c771e4a389d0b29bf196b50f1b696ea9.tar.bz2
gdb: Don't call tui_enable too early.
Calling tui_enable too early in tui_layout_command can leave the tui in an enabled state if the user has entered an invalid layout name. Instead postpone the call to tui_enable until later in tui_set_layout_for_display_command just before the layout is changed. gdb/ChangeLog: * tui/tui-layout.c (tui_layout_command): Move call to tui_enable into ... (tui_set_layout_for_display_command): ...here, before calling tui_set_layout. Only set the layout if gdb has not already entered the TUI_FAILURE state.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions