[rfa] generate symbols associated to namespaces

Daniel Jacobowitz drow@mvista.com
Sun Aug 31 19:29:00 GMT 2003


On Tue, Aug 05, 2003 at 01:54:29PM -0400, Daniel Jacobowitz wrote:
> On Fri, Jun 27, 2003 at 02:58:50PM -0700, David Carlton wrote:
> > On Fri, 27 Jun 2003 09:04:13 -0700, David Carlton <carlton@kealia.com> said:
> > 
> > > I've looked at your code comments, and they all seem reasonable.  I
> > > hope I'll have a revised version of the patch today; job transition
> > > issues will take up some of my time (I start full-time work at
> > > Kealia today, so I have to figure out what they want me to do other
> > > than hack GDB), but it's near the top of my priority list.
> > 
> > Okay, here's the new version.  Following Daniel's suggestion, it puts
> > symbols associated to DW_TAG_namespace in the symtab where they are
> > found, instead of in a special block, and creates one possible
> > namespace block for each objfile.  This fixes the problem Daniel found
> > with the last version of my patch (which, incidentally, turns out also
> > to show up under DWARF 2 with pr-1210.exp; the more tests the
> > merrier).
> > 
> > Tested with GCC 3.2, i686-pc-linux-gnu with both DWARF 2 and stabs+,
> > and with a version of GCC 3.2.3 that generates DW_TAG_namespace DIEs.
> > No new regressions (though the new tests in gdb.c++/namespace.exp fail
> > under stabs+, as expected).
> > 
> > How does this one look to y'all?
> 
> Sorry 'bout the delay.  This looks good to me; Elena?

This patch needs a trivial update for the gdb.c++ -> gdb.cp rename, and
IIRC one other merge update for the testsuite; and the comments we
discussed downthread.  Mind reposting it?

Elena, could you look at this?  I have some other C++ work which is
blocked waiting for this patch.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list