multi-arch TODO

Kevin Buettner kevinb@redhat.com
Mon Apr 22 08:25:00 GMT 2002


On Apr 22,  4:09am, David S. Miller wrote:

> SOFUN_ADDRESS_MAYBE_MISSING - Gross hack time... some compilation
>   environments don't fill in N_FUN/N_SO stabs, you have to compute
>   them by hand by looking up function names in the symbol table and
>   so forth.
> 
>   Much confusion in this area, some Linux targets define this, some
>   not.  All Solaris targets define it, but that makes sense based upon
>   the commentary around the changes this macro define protects.
> 
>   Why don't all Linux targets define this?  Do some binutils ports
>   perform this optimization and others not?  Or was there some bug
>   in N_FUN/N_SO stabs in binutils and/or gcc that this is papering
>   around?  kevinb@cyghat.com is the one who added this to powerpc
>   and i386 Linux.

I haven't given it a lot of thought recently, but my opinion is that
the SOFUN_ADDRESS_MAYBE_MISSING code ought to be enabled everywhere.
The only downside that I can think of is that we lose the ability
to put a symbol at address 0.

Kevin



More information about the Gdb mailing list