Re: [PATCH] Add alpha target to asm-source.exp test

Andrew Cagney
2002-03-23T19:18:26Z

> Hello Priya,
>
> I like your patch. It makes sense to me, but I have one question, in the
> code below. You are setting the asm-flags to '-gdwaft2'. I would assume
> that this is because '-g' is broken???? If '-g' is broken, shouldn't this be
> two tests??? One with '-g'. One with '-gdwarf2'.
>
> Best Regards,

The convention I believe gdb.asm has adopted is for each architecture to
specify the debug format that that architecture's users are expected to
use and is considered ``supported''.

enjoy,
Andrew

> --George
>
> On Thursday 07 February 2002 17:16, Kuppuswamy, Priyadarshini wrote:
>
>> + if [istarget "alpha*-*-*"] then {
>> + set asm-arch alpha
>> + set asm-flags "-gdwarf2 -I${srcdir}/${subdir} -I${objdir}/${subdir}"
>> + }
>