From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: mark.kettenis@xs4all.nl (Mark Kettenis)
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] [7/9] Multi-target support: Fix GDB_OSABI_OPENBSD_AOUT problem
Date: Mon, 29 Oct 2007 20:27:00 -0000 [thread overview]
Message-ID: <200710292019.l9TKJ78e001372@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200710260805.l9Q85855007631@brahms.sibelius.xs4all.nl> from "Mark Kettenis" at Oct 26, 2007 10:05:08 AM
Mark Kettenis wrote:
> The last OpenBSD/i386 release that used a.out was OpenBSD 3.3, which
> was released more than four years ago. I have no problem with
> dropping a.out support for OpenBSD/i386 if that makes things easier.
>
> However, OpenBSD/vax, OpenBSD/m68k and OpenBSD/m88k are still a.out,
> so parts of your diff might still be required (didn't look at the
> details of your diff yet).
The problem occurs whenever we want to support both OpenBSD-a.out
and NetBSD-a.out on the same platform, and they both want to install
(different) OSABI handlers.
On m88k, we don't support NetBSD at all, so this is no problem.
On m68k, we support both NetBSD and OpenBSD, but they use the
same gdbarch structure (with no OSABI handlers at all), so this
is no problem (currently) either.
On vax, both NetBSD and OpenBSD want to install an OSABI handler,
so this *is* a problem. However, the NetBSD OSABI handler doesn't
actually do anything -- do you know the status of NetBSD/vax?
If we can resolve the vax question, and indeed drop a.out support
for either NetBSD/i386 or OpenBSD/i386, this would solve the problem
as well.
Otherwise, the suggestion implemented in my patch would be to at
least offer two separate OSABI settings for the two operating
systems; this will at least enable users to manually select the
correct OS, if it cannot be detected automatically ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2007-10-29 20:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 1:18 Ulrich Weigand
2007-10-26 9:21 ` Mark Kettenis
2007-10-29 20:27 ` Ulrich Weigand [this message]
2007-10-29 22:53 ` Mark Kettenis
2007-10-30 21:36 ` Ulrich Weigand
2007-11-13 21:27 ` [ping] " Ulrich Weigand
2007-11-14 22:22 ` Mark Kettenis
2007-11-14 22:30 ` Mark Kettenis
2007-11-15 1:05 ` Ulrich Weigand
2007-11-16 23:29 ` Mark Kettenis
2007-11-17 1:05 ` Ulrich Weigand
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=200710292019.l9TKJ78e001372@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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