Always multi-arch the SPARC, dump sparclet?

Andrew Cagney ac131313@redhat.com
Mon Nov 25 13:28:00 GMT 2002


> On Mon, Nov 25, 2002 at 04:17:51PM -0500, Andrew Cagney wrote:
> 
>> Hello,
>> 
>> The SPARC target has a number of variants that don't yet build with 
>> multi-arch enabled (e.g., sparc-elf).
>> 
>> I'd like to propose that the switch simply be thrown and any 
>> non-multi-arch code be ripped out.  Acceptance criteria for such a 
>> change being simply `it still builds'.
>> 
>> This shouldn't affect things like GNU/Linux, which, I believe, do 
>> already build with multi-arch enabled.
>> 
>> This will, however, affect non-nulti-arch SPARC targets such as the 
>> sparclet potentially leading to breakage.
>> 
>> Thoughts?
> 
> 
> How's Solaris affected?  That's the only SPARC target that sees real
> use lately.
> 
> Not that it seems to work very well.

Shouldn't be affected (...):

$ grep 'define GDB_MULTI_ARCH' *
tm-linux.h:#define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL
tm-nbsd.h:#define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL
tm-sp64.h:#define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL
tm-sun4sol2.h:#define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL

Andrew




More information about the Gdb mailing list