aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2014-11-04 08:27:06 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2014-11-04 14:15:53 -0500
commitc87e6d0015ae357774fa5a25e2dcfed2c1df097f (patch)
treeaf34a85dafd0397adb6d6f0872cecf3ae92cc213 /gdb/ada-lang.c
parent441ef17f095f99bb094eb28990a92b8cdc8553b4 (diff)
downloadgdb-c87e6d0015ae357774fa5a25e2dcfed2c1df097f.zip
gdb-c87e6d0015ae357774fa5a25e2dcfed2c1df097f.tar.gz
gdb-c87e6d0015ae357774fa5a25e2dcfed2c1df097f.tar.bz2
tui: Fix newterm call for older ncurses
Older versions of ncurses' newterm can't take NULL for their ofp and ifp parameters. Newer versions can, and they fall back on stdout/stdin if that is the case. This patch explicitly passes stdout/stdin to the call to newterm to avoid segfaulting with older ncurses. gdb/Changelog: 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions