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:24:57 +0000 (20:24 +0200)
commit6b8a872ff1038e2b8618ea33bb1113b78f39976d
treeb5def1741a369b024c9c7d81d3860452cb27963b
parent4b62a76e0cd716407859077467fddbb66b715a43
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.
gdb/ChangeLog
gdb/tui/tui.c