Re: GDB 13.1 and clang

Chris Johns
2023-03-09T03:20:55Z

On 9/3/2023 11:15 am, Simon Marchi wrote:
>> On 3/8/23 17:53, John Baldwin wrote:
>> diff --git a/gdb/Makefile.in b/gdb/Makefile.in
>> index 6e39383eb93..40497541880 100644
>> --- a/gdb/Makefile.in
>> +++ b/gdb/Makefile.in
>> @@ -629,8 +629,8 @@ INTERNAL_CPPFLAGS = $(CPPFLAGS) @GUILE_CPPFLAGS@ @PYTHON_CPPFLAGS@ \
>> # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
>> INTERNAL_CFLAGS_BASE = \
>> $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
>> - $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) $(ZLIBINC) \
>> - $(ZSTD_CFLAGS) $(BFD_CFLAGS) $(INCLUDE_CFLAGS) $(LIBDECNUMBER_CFLAGS) \
>> + $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
>> + $(READLINE_CFLAGS) $(ZLIBINC) $(ZSTD_CFLAGS) $(LIBDECNUMBER_CFLAGS) \
>> $(INTL_CFLAGS) $(INCGNU) $(INCSUPPORT) $(LIBBACKTRACE_INC) \
>> $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) $(SRCHIGH_CFLAGS) \
>> $(TOP_CFLAGS) $(PTHREAD_CFLAGS) $(DEBUGINFOD_CFLAGS) $(GMPINC) \
>
> If it works, I'd be fine with that patch. We'll need a PR number for
> the patch to make it to the 13 branch though.

I have raised a ticket ..

https://sourceware.org/bugzilla/show_bug.cgi?id=30214

Chris