]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Avoid c-ctype.h in libinproctrace.so
authorTom Tromey <tromey@adacore.com>
Tue, 21 Oct 2025 13:42:40 +0000 (07:42 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 22 Oct 2025 17:58:37 +0000 (11:58 -0600)
commit297a5c44ddfa6dc6efbd0f049cd8d06e466a7445
treecf51bb4d7cc25ab995fcc9057cc490cd082d9754
parentbef948d551a6c06e2d2e482eba1467d65ac691a0
Avoid c-ctype.h in libinproctrace.so

libinproctrace.so doesn't link against gnulib, and some versions of
clang won't inline the c-ctype.h functions.  This causes link
failures.

This patch works around the problem by reverting to <ctype.h> in this
case.

Tested-By: Guinevere Larsen <guinevere@redhat.com>
gdbsupport/common-utils.cc