This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SOFUN_ADDRESS_MAYBE_MISSING


Kevin Buettner <kevinb@redhat.com> writes:

> 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.

I'd go along with that.  Let's just try enabling it for all targets,
and deal with the fallout.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]