Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: John S Kallal <jskallal@home.com>,
	Adam Mirowski <mir@solfege.France.Sun.COM>,
	gdb-patches@sources.redhat.com
Subject: Re: [PATCH} Minor bug fix in arch-utils.c
Date: Thu, 10 May 2001 10:27:00 -0000	[thread overview]
Message-ID: <3AFACF5F.6070007@cygnus.com> (raw)
In-Reply-To: <3AFAC0A5.222B3B4C@redhat.com>

> Yes, I've seen this patch twice now.  While an obvious fix, I'm going to
>> check in the attached.  The ``info architecture'' command can simply be
>> deleted.
>> 
>> Andrew
> 
> 
> Ouch!  Isn't it any useful?  At least as a "maintenance" command?

A while back I fixed set/show architecture vis:


(gdb) show arch
archdebug     architecture  
(gdb) show architecture 
The target architecture is set automatically (currently rs6000:6000)
(gdb) set architecture 
Requires an argument. Valid arguments are rs6000:6000, rs6000:rs1, rs6000:rsc, rs6000:rs2, powerpc:common, powerpc:603, powerpc:EC603e, powerpc:604, powerpc:403, powerpc:601, powerpc:620, powerpc:630, powerpc:a35, powerpc:rs64ii, powerpc:rs64iii, powerpc:7400, powerpc:MPC8XX, auto.
(gdb) set architecture<TAB>
auto             powerpc:620      powerpc:a35      rs6000:rs1
powerpc:403      powerpc:630      powerpc:common   rs6000:rs2
powerpc:601      powerpc:7400     powerpc:rs64ii   rs6000:rsc
powerpc:603      powerpc:EC603e   powerpc:rs64iii  
powerpc:604      powerpc:MPC8XX   rs6000:6000      


compare this to info architecture:


(gdb) info architecture
Warning: command 'info architecture' is deprecated.
Use 'set architecture'


Available architectures are:
 rs6000:6000 rs6000:rs1 rs6000:rsc rs6000:rs2 powerpc:common powerpc:603 powerpc:EC603e powerpc:604 powerpc:403 powerpc:601 powerpc:620 powerpc:630 powerpc:a35 powerpc:rs64ii powerpc:rs64iii powerpc:7400 powerpc:MPC8XX


so it is redundant.


	Andrew



      reply	other threads:[~2001-05-10 10:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000701c0cea9$7b18ed80$6401a8c0@cn986452a>
2001-05-10  8:33 ` Andrew Cagney
2001-05-10  9:26   ` Fernando Nasser
2001-05-10 10:27     ` Andrew Cagney [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=3AFACF5F.6070007@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jskallal@home.com \
    --cc=mir@solfege.France.Sun.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