This is the mail archive of the archer@sourceware.org mailing list for the Archer project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I thought perhaps you'd have a new LOC_TEMPLATE, then add a new symbol with that class. Then when you do a lookup for "foo" you can tell that it is a "phony" symbol that represents a template. Finally, the symbol's value union could have a new field that points to all the instantiations.
Alternatively such a symbol could just store a type that has a new TYPE_CODE_. I'm not sure whether this would be any better.
I'm not sure that this is sane and/or easily implemented.
Sami> + return c != NULL&& strchr (name, '>')> c;
I don't think you really need that second clause there.
I didn't look too closely at all of it. Make sure that psymbol changes don't poison the bcache, and that lookups that find a name like this don't do the wrong thing elsewhere in gdb.
Thanks, Sami
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |