[RFA] c++/11734
Doug Evans
dje@google.com
Thu Jun 24 16:05:00 GMT 2010
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?
More information about the Gdb-patches
mailing list