]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix MinGW TUI build
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Jan 2015 18:23:12 +0000 (20:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Jan 2015 18:28:03 +0000 (20:28 +0200)
commit31d4e82aa6cd53b05bc41222ba2ab42f6d6dee8b
tree3c51320099de4255232e8aca274230142a48ed34
parentc80546409610a6507b3e6338e014c424d2af6864
Fix MinGW TUI build

gdb/
2015-01-22  Eli Zaretskii  <eliz@gnu.org>

* gdb/tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
fails with the 1st arg NULL, try again with "unknown".  Don't test
the "cup" capability: it isn't supported by the Windows port of
ncurses, but the Windows console driver is still capable of
supporting TUI.

(cherry picked from commit 6b8a872ff1038e2b8618ea33bb1113b78f39976d)
gdb/ChangeLog
gdb/tui/tui.c