From: Jason R Thorpe <thorpej@wasabisystems.com>
To: "David S. Miller" <davem@redhat.com>
Cc: msnyder@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA] Sparc/Linux fixes part 1
Date: Sat, 20 Apr 2002 19:04:00 -0000 [thread overview]
Message-ID: <20020420190416.A1627@dr-evil.shagadelic.org> (raw)
In-Reply-To: <20020420.175049.83695986.davem@redhat.com>; from davem@redhat.com on Sat, Apr 20, 2002 at 05:50:49PM -0700
On Sat, Apr 20, 2002 at 05:50:49PM -0700, David S. Miller wrote:
> 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).
...so have your sparc-linux-{nat,tdep} _initialize function set the default
"sparc os abi" to Linux, or something.
> 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.
You don't have to distinguish between the two binaries. Seems like you only
need to provide a default depending on the target GDB was configured for,
and a way to switch them at run-time.
(no ".note.ABI-tag" note section in sparc linux binaries, eh? oh well... my
suggestion would still work :-)
> 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?
Yes, I understood that from the beginning.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
next prev parent reply other threads:[~2002-04-21 2:04 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 14:54 David S. Miller
2002-04-19 18:37 ` Michael Snyder
2002-04-19 18:43 ` David S. Miller
2002-04-19 18:55 ` David S. Miller
2002-04-19 19:13 ` Andrew Cagney
2002-04-19 19:16 ` David S. Miller
2002-04-19 19:18 ` David S. Miller
2002-04-19 19:46 ` Andrew Cagney
2002-04-19 19:53 ` David S. Miller
2002-04-20 19:01 ` David S. Miller
2002-04-20 19:13 ` Jason R Thorpe
2002-04-20 19:44 ` Andrew Cagney
2002-04-20 20:06 ` Andrew Cagney
2002-04-20 20:18 ` David S. Miller
2002-04-20 21:24 ` Jason R Thorpe
2002-04-20 21:32 ` David S. Miller
2002-04-20 23:41 ` Andrew Cagney
2002-04-22 9:24 ` Elena Zannoni
2002-04-22 3:55 ` Richard Earnshaw
2002-04-22 4:09 ` David S. Miller
2002-04-19 19:55 ` David S. Miller
2002-04-20 10:00 ` Jason R Thorpe
2002-04-20 17:59 ` David S. Miller
2002-04-20 19:04 ` Jason R Thorpe [this message]
2002-04-20 19:19 ` David S. Miller
2002-04-20 19:24 ` Jason R Thorpe
2002-04-20 19:26 ` David S. Miller
2002-04-20 20:32 ` [RFA] Sparc OS abi gdbarch init (was Re: [RFA] Sparc/Linux fixes part 1) David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020420190416.A1627@dr-evil.shagadelic.org \
--to=thorpej@wasabisystems.com \
--cc=davem@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox