Re: [RFA] varobj: call CHECK_TYPEDEF

Daniel Jacobowitz
2003-04-25T00:29:45Z

On Thu, Apr 24, 2003 at 03:29:36PM -0700, Keith Seitz wrote:
> On Thu, 2003-04-24 at 15:18, Andrew Cagney wrote:
> > BTW, does ...
> >
> > struct t
> > {
> > int a;
> > int b;
> > };
> >
> > typedef struct t T;
> >
> > main()
> > {
> > static T v = {...};
> > }
> >
> > tickle it?
>
> Nope, that works properly (except for it being reported as "struct t"
> instead of "T").

[Keith, you had "test for insight/792" in your posted testsuite patch.]

There's at least one compiler bug in this area, where DWARF-2 debug info
will say struct t instead of T. I fixed it for 3.3 and (I think?)
3.2.3. Just in case you start getting confused :)

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer