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

Ciaran Woodward <[email protected]> Tue, 28 Jul 2026 13:29:01 +0000
Newsgroups gmane.comp.gdb.patches
Message-ID <MI3PR09MB8624C424FF3F0BDF7DF0E063B9CB2@MI3PR09MB8624.eurprd09.prod.outlook.com>
> -----Original Message-----
> From: Daniel Fellows <[email protected]>
> Sent: 27 July 2026 17:16
>  
> 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.

Hi Daniel,

I'm happy for this fix to be backported, and I'm happy to push the commit
if you aren't able - from my perspective it seems extremely low risk.

I'm not quite sure on the backport process - I assume it needs approval by
a maintainer, at least.

Can any maintainer fill us in?

Cheers,
Ciaran