[PATCH] gdb: work around negative DW_AT_data_member_location GCC 11 bug

Simon Marchi simon.marchi@efficios.com
Wed Jan 26 19:58:29 GMT 2022


>> +# This test can only be run on targets which support DWARF-2 and use gas.
>> +if ![dwarf2_support] {
>> +    return 0
>> +}
> 
> Correct me if I'm wrong, but I think Dwarf::assemble requires the compiler to be GCC.

I don't know.  To be honest, I just copied this commetn and check
because we have it in all other tests that use the DWARF assembler.

Simon



More information about the Binutils mailing list