Re: [RFA/RFC] Multilibs and gdb.asm

Michael Snyder
2002-04-06T02:14:38Z

Andrew Cagney wrote:
>
> > On Fri, Apr 05, 2002 at 04:19:20PM -0500, Elena Zannoni wrote:
> >
> >>
> >> In gdb.asm/asm-source.exp, the testsuite passes multilib options to
> >> the assembler according to the compiler syntax.
> >> Obviously this doesn't work, as already noted by Nick Clifton in:
> >>
> >> http://sources.redhat.com/ml/gdb-patches/2002-01/msg00282.html
> >>
> >> A solution wasn't reached at the time.
> >>
> >> I found it useful to just bail out of the test if some multilibs were
> >> detected. At least it reduced the noise in the testsuite results.
> >>
> >> Is this too drastic?
> >
> >
> > I've got a silly suggestion. Is there any reason not to assemble by
> > invoking the compiler, for this test? Let it do all the multilib
> > footwork.
>
> What compiler? (There may be an assembler and linker but no compiler)

No, Daniel's right. At some point last year, we changed the test
so that it invokes "gdb_compile" to do the final link. I think that
was because the compiler would figure out what libraries needed to
be linked in. I've been vaguely worried about that change...