[PATCH] Fix gdb.dwarf2/clztest.exp with Clang

Andreas Schwab schwab@linux-m68k.org
Mon Nov 2 20:30:41 GMT 2020


On Nov 02 2020, Rainer Orth wrote:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> On Nov 02 2020, Gary Benson wrote:
>>
>>> A comment in that .S file indicated it was originally generated
>>> using GCC (via gcc -dA -S -g -O2 clztest.c -o clztest.S) but that
>>> was 2011, so maybe things changed.
>>
>> Modern compilers don't emit .eh_frame contents manually, but use cfi
>> directives.
>
> ... if the assembler used supports those, which isn't always the case.

So let's say modern toolchains instead. :-)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gdb-patches mailing list