This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Sparc/Linux fixes part 1
From: Jason R Thorpe <thorpej@wasabisystems.com>
Date: Sat, 20 Apr 2002 10:00:52 -0700
Err, the ARM target deals with multiple OS settings in the multi-arch
framework...
This won't work at all for my case. There is no "elfosabi" to use to
distinguish between Solaris ELF 32-bit Sparc (which has 16 byte long
doubles) and Linux ELF 32-bit Sparc (which has 8 byte long doubles).
The OS tag is listed as SYSV in both cases.
Maybe I can say "there is no way to distinguish whether it is a Linux
32-bit Sparc binary or a Solaris 32-bit Sparc one" 50 more times and
people would begin to understand the situation.
Here, let me show everyone exactly what I am saying:
? uname -a
Linux nuts.ninka.net 2.4.19-pre7 #1 SMP Fri Apr 19 20:18:39 PDT 2002 sparc64 unknown
? readelf -h /bin/sh | grep OS
OS/ABI: UNIX - System V
?
bash-2.03$ uname -a
SunOS caip.rutgers.edu 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-Enterprise-10000
bash-2.03$ readelf -h /bin/sh | grep OS
OS/ABI: UNIX - System V
bash-2.03$
See?
Franks a lot,
David S. Miller
davem@redhat.com