[rfc/rft] [3/3] Remove stabs target macros: SOFUN_ADDRESS_MAYBE_MISSING
Ulrich Weigand
uweigand@de.ibm.com
Mon Oct 15 14:10:00 GMT 2007
Eli Zaretskii wrote:
> > +@code{N_FUN} stabs have an address of zero. Instead, you should find the
> > +addresses where the function starts by taking the function name from the
> > +stab, and then looking that up in the minsyms (the linker/assembler symbol
> > +table). In other words, the stab has the name, and the linker/assembler
> > +symbol table is the only place that carries the address.
>
> I'm confused by the "Instead" thing: instead of what? instead of using
> the (otherwise non-zero) address of N_FUN?
Yes, exactly. Do you feel this needs to be clarified?
"Instead of using this address, you should find ..." ?
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list