This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: SOFUN_ADDRESS_MAYBE_MISSING
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Mark Kettenis <kettenis at chello dot nl>, gdb at sources dot redhat dot com
- Date: Mon, 6 Oct 2003 09:44:20 -0700
- Subject: Re: SOFUN_ADDRESS_MAYBE_MISSING
- References: <200310061242.h96CgtiA000454@elgar.kettenis.dyndns.org>
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