This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: [RFA] c++/11734


On Wed, Jun 23, 2010 at 7:25 PM, Doug Evans <dje@google.com> wrote:
> From Keith's patch:
> + ? ? ? ? ? ? if (simple_name)
> + ? ? ? ? ? ? ? {
> + ? ? ? ? ? ? ? ? /* NAME has overload information. ?Partial symbols, however,
> + ? ? ? ? ? ? ? ? ? ?do not. ?This is a case of mistaken identity.
> +
> + ? ? ? ? ? ? ? ? ? ?Although hacky, this is fixed by expanding this psymtab,
> + ? ? ? ? ? ? ? ? ? ?which will allow any subsequent symtab search to succeed.
> +
> + ? ? ? ? ? ? ? ? ? ?For more details/test case, please refer to c++/11734. ?*/
> +
> + ? ? ? ? ? ? ? ? if (SYMBOL_MATCHES_SEARCH_NAME (*top, simple_name))
> + ? ? ? ? ? ? ? ? ? PSYMTAB_TO_SYMTAB (pst);
> + ? ? ? ? ? ? ? }
> [...]
> I don't have a specific proposal for a better fix at the moment.

Maybe after expanding the psymtab you could search the full symtab here?
Still hacky, but maybe good enough for 7.2?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]