[Bug ada/33217] Ada demangler calls ctype.h functions with wrong arguments
simark at simark dot ca
sourceware-bugzilla@sourceware.org
Tue Aug 5 19:00:11 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33217
--- Comment #9 from Simon Marchi <simark at simark dot ca> ---
It still sounds like an improvement.
Regarding the macros defined by readline (that we want to undefine and not
use), it seems to me like gdb-safe-ctype.h is not the right place to do it.
Otherwise, it assumes that gdb-safe-ctype.h is always included after readline,
which seems fragile. Should we instead have a gdb-readline.h that includes
readline then undefines the macros? Then, it's easy to ensure that readline.h
is never included anywhere, except in gdb-readline.h.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list