Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jason R Thorpe <thorpej@wasabisystems.com>
To: Andrew Cagney <ac131313@ges.redhat.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:19:00 -0000	[thread overview]
Message-ID: <20020819161925.J2214@dr-evil.shagadelic.org> (raw)
In-Reply-To: <3D617A9E.7000102@ges.redhat.com>; from ac131313@ges.redhat.com on Mon, Aug 19, 2002 at 07:09:18PM -0400

On Mon, Aug 19, 2002 at 07:09:18PM -0400, Andrew Cagney wrote:

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

Yes.

 > Another option is:
 > 
 > 	...
 > 	(gdb) set architecture mips
 > 	OSABI arm_eabi_v1 invalid for mips architecture

Yah, that's probably good.

 > and possibly even:
 > 
 > 	Force OSABI to ``auto''?  (y or n)
 > 
 > even figuring out that there is a clash is hairy.

Actually, figuring out if there is a clash should be easy.  Traverse the
list of registered OSABIs... each one will have an arch/osabi tuple.  If
you don't find one that matches the current arch/osabi setting, then you
have found a clash, and go into recovery mode.  Otherwise, there is no
clash, and you can safely use the current osabi setting with the new arch
setting.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


      reply	other threads:[~2002-08-19 23:19 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
2002-08-19 16:19       ` Jason R Thorpe [this message]

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=20020819161925.J2214@dr-evil.shagadelic.org \
    --to=thorpej@wasabisystems.com \
    --cc=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=simon.posnjak@siol.net \
    /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