This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Check solib bfd arch
> Date: Fri, 18 Sep 2009 16:07:46 +0200 (CEST)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
>
> > Date: Fri, 18 Sep 2009 14:50:22 +0200 (CEST)
> > From: "Ulrich Weigand" <uweigand@de.ibm.com>
> >
> > In your particular case, the result of compatible appears to indicate
> > that the target architecture sparc:v9 *cannot* run code written for
> > the architecture sparc:v9a; if this were true (I'm not sure about
> > such sparc architecture details), then it would be correct to reject
> > those shared libraries ...
>
> Yes, v9a is an extension to v9, so a target that only has support for
> v9 cannot run v9a binaries.
>
> I suppose we needsto add the necessary magic to sparc-sol-nat.c to set
> the proper architecture. I'll need to figure out how to extract that
> information from the system. Is it possible to create a target
> description that just contains the architecture and not all the
> register stuff?
Oh, and for 7.0 I think we should simply disable that check.