[RFA] Introduce notion of "search name"

Joel Brobecker brobecker@gnat.com
Wed May 12 16:59:00 GMT 2004


> I.e., through out GDB there is the assumption that symtab internally 
> uses simple strings.
> 
> We shouldn't.  Recalling that one of the underlying problems here was 
> the need to construct search names on the fly using more complext debug 
> info, we should instead have interfaces such as:

This is a worthy goal, but I see it as a goal separate from what the
patch is trying to achieve. From what Paul is saying, the change you
are objecting to introduces a check that is correct within the current
implementation, and makes the kind of assumption that's already used
everywhere. Why can't we use the current framework as is until the
cleanup is done (BTW: who's going to do it, and when?). Admitedly, we
have to document a temporary assumption, but I don't think this will
affect the symbol interface cleanup you're suggesting all that much.

-- 
Joel



More information about the Gdb-patches mailing list