Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Jason R Thorpe <thorpej@wasabisystems.com>
Cc: Simon Posnjak <simon.posnjak@siol.net>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] set osabi command
Date: Mon, 19 Aug 2002 16:09:00 -0000	[thread overview]
Message-ID: <3D617A9E.7000102@ges.redhat.com> (raw)
In-Reply-To: <20020819154000.H2214@dr-evil.shagadelic.org>

> 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.

Are you suggesting that a ``set architecture'' command affect the ``set 
osabi'' setting, possibly forcing it to some other value?

Another option is:

	...
	(gdb) set architecture mips
	OSABI arm_eabi_v1 invalid for mips architecture

and possibly even:

	Force OSABI to ``auto''?  (y or n)

even figuring out that there is a clash is hairy.

enjoy,
Andrew



  reply	other threads:[~2002-08-19 23:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-15 14:19 Simon Posnjak
2002-08-19 15:31 ` Andrew Cagney
2002-08-19 15:40   ` Jason R Thorpe
2002-08-19 16:09     ` Andrew Cagney [this message]
2002-08-19 16:19       ` Jason R Thorpe

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=3D617A9E.7000102@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=simon.posnjak@siol.net \
    --cc=thorpej@wasabisystems.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