Re: [PATCH 1/1] gdb/tui: Fix build for older ncurses

Daniel Fellows <[email protected]> Mon, 27 Jul 2026 17:15:31 +0100
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
Hi Ciaran,

Would you be willing to backport this fix to gdb-17-branch?

We encountered the A_ITALIC build failure after moving our macOS builds
to GDB 17. I tested the fix successfully on both Intel and Arm macOS
hosts.

There is a small conflict with commit 07e542a3bd05, which added MinGW
handling in the same section of ui-style.c. The resolution is to retain
that MinGW block alongside your tgetnum change.

Thanks,
Daniel