This is the mail archive of the gdb-patches@sourceware.org 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: [RFA] Check solib bfd arch


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


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