mingw --enable-tui

Eli Zaretskii eliz@gnu.org
Sun Nov 22 16:55:57 GMT 2020


> Cc: gdb-patches@sourceware.org
> From: gmail Vladimir Koković <vladimir.kokovic@gmail.com>
> Date: Sun, 22 Nov 2020 17:35:03 +0100
> 
> For mingw, pdcurses is used, not ncurses.
> 
> pdcurses curses.h:
> 
> #if defined( CHTYPE_32)
>    #if defined( CHTYPE_64)
>        #error CHTYPE cannot be both CHTYPE_32 and CHTYPE_64
>    #endif
>    typedef uint32_t chtype;       /* chtypes will be 32 bits */
> #else
>    #define CHTYPE_64
>    typedef uint64_t chtype;       /* chtypes will be 64 bits */
>    #ifdef PDC_WIDE
>       #define USING_COMBINING_CHARACTER_SCHEME
>    #endif
> #endif

Thanks, then I guess the condition should be for PDCurses, not
necessarily for MinGW64.  I see no reason to assume that MinGW64 GDB
will always be built with PDCurses.



More information about the Gdb-patches mailing list