[PATCH] GDB: Fix detection of ELF support when configuring with -Werror

Tom Tromey tom@tromey.com
Thu Nov 12 14:23:30 GMT 2020


>>>>> "Alexander" == Alexander Richardson via Gdb-patches <gdb-patches@sourceware.org> writes:

Alexander> that's what I originally planned, but it seems like elf-bfd.h (and the
Alexander> headers it includes) don't include any system headers. Since I'm not
Alexander> familiar with any of this code I assumed this was intentional.

It seems like a question for the binutils list.

Maybe the answer is that configuring with -Werror shouldn't be done,
though.  I don't know the current state, but in the past, Autoconf
sometimes generated somewhat questionable test programs, so it's not
clear to me that the parts of configure that are out of gdb's control
are -Werror-clean.

Tom


More information about the Gdb-patches mailing list