This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Add alpha target to asm-source.exp test
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: George France <france at handhelds dot org>
- Cc: "Kuppuswamy, Priyadarshini" <Priyadarshini dot Kuppuswamy at compaq dot com>,gdb-patches at sources dot redhat dot com, clp at iol dot unh dot edu
- Date: Sat, 23 Mar 2002 14:18:07 -0500
- Subject: Re: [PATCH] Add alpha target to asm-source.exp test
- References: <6B003D25ADBDE347B5542AFE6A55B42E01A43FFD@tayexc13.americas.cpqcorp.net> <02020718103402.15715@shadowfax.middleearth>
> 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}"
>> + }
>