Re: RFA: don't use minsym name when searching block

Daniel Jacobowitz
2002-08-29T21:50:33Z

On Thu, Aug 29, 2002 at 04:28:07PM -0500, Jim Blandy wrote:
>
> "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de> writes:
> > I proposed a very similar patch almost two years ago, but it got turned
> > down and I was tired of arguing. Please note that there are two more
> > calls to lookup_block_symbol in the #ifdef HPUXHPPA block, which I think
> > have to be adjusted as well.
>
> Okay, thanks for pointing that out.
>
> > See http://sources.redhat.com/ml/gdb-patches/2000-10/msg00250.html
>
> Do you think it's really best to use SYMBOL_SOURCE_NAME, instead of
> just `name'? I had the impression that the full symbol names were
> always demangled, so the name to use shouldn't depend on the setting
> of the `demangle' flag, as SYMBOL_SOURCE_NAME does.

You are absolutely correct. SYMBOL_SOURCE_NAME should be (is?) only
for display. I fixed a couple bugs in this area recently, although I
don't remember whether I posted the patch... I'll check.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer