A gdb+bfd string pool?
Andrew Cagney
ac131313@redhat.com
Tue Nov 4 23:51:00 GMT 2003
> our lack of const-correctness when
> dealing with names makes me even more nervous.
Can someone please convince me that this ...
> struct partial_symbol *
> fixup_psymbol_section (struct partial_symbol *psym, struct objfile *objfile)
> {
> if (!psym)
> return NULL;
>
> if (SYMBOL_BFD_SECTION (psym))
> return psym;
>
> fixup_section (&psym->ginfo, objfile);
>
> return psym;
> }
and this:
> if (SYMBOL_SECTION (*psym) >= 0)
> SYMBOL_VALUE_ADDRESS (*psym) += ANOFFSET (delta,
aren't modifying the bcached minimal symbol? :-(
Andrew
More information about the Gdb
mailing list