[RFA/stabs] 't' type declaration is equivalent to 'Tt' for Ada

Joel Brobecker brobecker@adacore.com
Wed Feb 28 06:01:00 GMT 2007


> > When we have a 't', the debugger builds a VAR_DOMAIN symbol. When we
> > have a 'T', the debugger also builds a STRUCT_DOMAIN symbol. In Ada,
> > there is no equivalent of the distinction between typedef and non-typedef.
> > So as a result, I modified the stabsreader such that, for Ada, a 't'
> > symbol would be treated as if it was defined with 'Tt'.
> 
> I guess this is OK.  It seems silly to rely on STRUCT_DOMAIN, but I
> don't want to make intrusive changes to this code now - a drawback of
> everything moving away from stabs is that it becomes harder to test.

I must say I agree on all counts. We still have a handful of gcc-34
debuggers that still do a decent job with stabs, so we can help with
the testing for a little longer. But I personally hope to be through
with stabs within a year or two....

In the meantime, checked in.

Thanks!
-- 
Joel



More information about the Gdb-patches mailing list