This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] set osabi command
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: Simon Posnjak <simon dot posnjak at siol dot net>,gdb-patches at sources dot redhat dot com
- Date: Mon, 19 Aug 2002 15:40:00 -0700
- Subject: Re: [PATCH] set osabi command
- Organization: Wasabi Systems, Inc.
- References: <1029446386.30623.13.camel@klada.dyndns.org> <3D6171DA.7000100@ges.redhat.com>
On Mon, Aug 19, 2002 at 06:31:54PM -0400, Andrew Cagney wrote:
> It gets complex though because the user could enter a sequence like:
>
> (gdb) set architecture arm
> ... architecture forced to arm ...
> (gdb) set osabi arm_eabi_v1
> ... osabi forced to arm_eabi_v1
> (gdb) set architecture mips
> ... architecture forced to mips, what should happen to the OSABI? It
> can't remain arm_eabi_v1 ...
>
> Idea's?
* If it's e.g. "NetBSD/ELF", it's perfectly valid for ARM and MIPS,
so it should stay the same.
* Failing that, if the target triplet has a default OSABI, then
that should be selected.
* Failing that, the "unknown" OSABI.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>