SOFUN_ADDRESS_MAYBE_MISSING
Kevin Buettner
kevinb@redhat.com
Mon Oct 6 16:44:00 GMT 2003
On Oct 6, 2:42pm, Mark Kettenis wrote:
> I'm wondering what to do with SOFUN_ADDRESS_MAYBE_MISSING. It started
> out (and still largely is) a hack to work around a problem with
> stabs-in-ELF with Sun's C compiler. Later it also got enabled on some
> Linux variants, to work around a bug in HJ's Linux binutils IIRC.
>
> The safest thing to do is probably to turn this into a multi-arch
> variable, and set that variable for all targets that #define
> SOFUN_ADDRESS_MAYBE_MISSING. I winder however, what the impact would
> be of enabling this on all ELF targets, since that would make it
> easier to debug object modules created with the Sun compiler to
> FreeBSD/sparc64 for example.
It's been a while since I've studied this problem, but the last time
I looked at it, enabling SOFUN_ADDRESS_MAYBE_MISSING for all targets
looked pretty safe to me.
Kevin
More information about the Gdb
mailing list