This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gcc 3.4 regression in gdb.cp/namespace.exp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: carlton at kealia dot com, gdb at sources dot redhat dot com
- Date: Tue, 16 Mar 2004 11:00:05 -0500
- Subject: Re: gcc 3.4 regression in gdb.cp/namespace.exp
- References: <20040316023921.33B114B104@berman.michael-chastain.com>
On Mon, Mar 15, 2004 at 09:39:21PM -0500, Michael Chastain wrote:
> David Carlton writes:
>
> ptype CClass::NestedClass
> There is no field named NestedClass
> (gdb) FAIL: gdb.cp/namespace.exp: ptype CClass::NestedClass
>
> This has been working fine for me with gdb HEAD, suite HEAD, gcc HEAD,
> -gdwarf-2 since 2004-01-23. I got some FAILs on 2004-01-18 and
> 2004-01-19.
Have you run it since I committed the process_structure_scope patch on
Saturday? I won't have time to really parse David's explanation for a
couple of days but it sounds like I broke this.
>
> Do you really need gcc 3.5.0 20040119?
> Can you try gcc 3.5.0 20040315 for example?
>
> > I really hate the way we test our DWARF 2 reader - there's no way to
> > generate the debug info by hand to give a particular scenario, so
> > instead we have to hope that we can find the magic version of GCC and
> > magic way of writing a test case to trigger the bug in question.
> > Sigh.
>
> Can we write a gdb.dwarf-2 that looks like gdb.stabs,
> with assembly language input in it?
>
> Michael C
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer