[Bug build/30391] [gdb/build] COLS/LINES reference from maint info screen breaks build
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sat Apr 29 05:04:17 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30391
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e5cbbbf79ad269983f744414a7efece6784dd682
commit e5cbbbf79ad269983f744414a7efece6784dd682
Author: Tom de Vries <tdevries@suse.de>
Date: Sat Apr 29 07:04:27 2023 +0200
[gdb/build] Fix build without ncurses in maintenance_info_screen
With a build without ncurses we run into:
...
src/gdb/utils.c: In function âvoid maintenance_info_screen(const char*,
int)â:
src/gdb/utils.c:1310:7: error: âCOLSâ was not declared in this scope
COLS);
^~~~
src/gdb/utils.c:1331:8: error: âLINESâ was not declared in this scope
LINES);
^~~~~
...
Fix this by using HAVE_LIBCURSES.
Tested on x86_64-linux.
PR build/30391
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30391
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list