* `processor' command
@ 2007-02-16 12:43 Nick Roberts
2007-02-16 12:56 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Nick Roberts @ 2007-02-16 12:43 UTC (permalink / raw)
To: gdb
The manual says:
`set processor'
`processor'
These are alias commands for, respectively, `set architecture' and
`show architecture'.
The command `processor' doesn't work for me. As it's an alias anyway how about
getting rid of it?
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: `processor' command 2007-02-16 12:43 `processor' command Nick Roberts @ 2007-02-16 12:56 ` Daniel Jacobowitz 2007-02-17 11:43 ` Eli Zaretskii 0 siblings, 1 reply; 6+ messages in thread From: Daniel Jacobowitz @ 2007-02-16 12:56 UTC (permalink / raw) To: Nick Roberts; +Cc: gdb On Fri, Feb 16, 2007 at 05:05:53PM +1300, Nick Roberts wrote: > > The manual says: > > `set processor' > `processor' > These are alias commands for, respectively, `set architecture' and > `show architecture'. > > The command `processor' doesn't work for me. As it's an alias anyway how about > getting rid of it? I guess it was supposed to be "show processor"? But in any case there isn't one, only "set processor" is implemented. So I think we can un-document "processor". -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `processor' command 2007-02-16 12:56 ` Daniel Jacobowitz @ 2007-02-17 11:43 ` Eli Zaretskii 2007-02-17 21:20 ` Daniel Jacobowitz 0 siblings, 1 reply; 6+ messages in thread From: Eli Zaretskii @ 2007-02-17 11:43 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: nickrob, gdb > Date: Fri, 16 Feb 2007 07:54:43 -0500 > From: Daniel Jacobowitz <drow@false.org> > Cc: gdb@sourceware.org > > On Fri, Feb 16, 2007 at 05:05:53PM +1300, Nick Roberts wrote: > > > > The manual says: > > > > `set processor' > > `processor' > > These are alias commands for, respectively, `set architecture' and > > `show architecture'. > > > > The command `processor' doesn't work for me. As it's an alias anyway how about > > getting rid of it? > > I guess it was supposed to be "show processor"? But in any case there > isn't one, only "set processor" is implemented. So I think we can > un-document "processor". If there is `set processor', there should be also `show processor'. So I think we should either remove the former or add the latter. I'm not sure what you meant by ``un-document''; if that means leave a command, but don't document it, I'm against it. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `processor' command 2007-02-17 11:43 ` Eli Zaretskii @ 2007-02-17 21:20 ` Daniel Jacobowitz 2007-02-18 10:47 ` Nick Roberts 2007-02-18 22:42 ` Eli Zaretskii 0 siblings, 2 replies; 6+ messages in thread From: Daniel Jacobowitz @ 2007-02-17 21:20 UTC (permalink / raw) To: Eli Zaretskii; +Cc: nickrob, gdb On Sat, Feb 17, 2007 at 12:21:24PM +0200, Eli Zaretskii wrote: > > Date: Fri, 16 Feb 2007 07:54:43 -0500 > > From: Daniel Jacobowitz <drow@false.org> > > Cc: gdb@sourceware.org > > > > On Fri, Feb 16, 2007 at 05:05:53PM +1300, Nick Roberts wrote: > > > > > > The manual says: > > > > > > `set processor' > > > `processor' > > > These are alias commands for, respectively, `set architecture' and > > > `show architecture'. > > > > > > The command `processor' doesn't work for me. As it's an alias anyway how about > > > getting rid of it? > > > > I guess it was supposed to be "show processor"? But in any case there > > isn't one, only "set processor" is implemented. So I think we can > > un-document "processor". > > If there is `set processor', there should be also `show processor'. > So I think we should either remove the former or add the latter. > > I'm not sure what you meant by ``un-document''; if that means leave a > command, but don't document it, I'm against it. I meant to remove the documentation for the "processor" command, which does not exist. Maybe it did once but the command has already been removed. My next choice would be to remove "set processor"; but if you think it's still in use and worthwhile as an alias, we could add "show processor" as a new alias instead. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `processor' command 2007-02-17 21:20 ` Daniel Jacobowitz @ 2007-02-18 10:47 ` Nick Roberts 2007-02-18 22:42 ` Eli Zaretskii 1 sibling, 0 replies; 6+ messages in thread From: Nick Roberts @ 2007-02-18 10:47 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: Eli Zaretskii, gdb > > I'm not sure what you meant by ``un-document''; if that means leave a > > command, but don't document it, I'm against it. > > I meant to remove the documentation for the "processor" command, which > does not exist. Maybe it did once but the command has already been > removed. > > My next choice would be to remove "set processor"; but if you think > it's still in use and worthwhile as an alias, we could add > "show processor" as a new alias instead. My preference would be to remove "set processor" as I find aliases (which aren't just abbreviations) more to remember. The command "info target" tells you about the target, while the command "info files" tells you about... er, the target. Sometimes they also provide anomalies, e.g, "bt", "where" and "info stack" are all the same -- except that hookpost-backtrace doesn't work with last alias. -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: `processor' command 2007-02-17 21:20 ` Daniel Jacobowitz 2007-02-18 10:47 ` Nick Roberts @ 2007-02-18 22:42 ` Eli Zaretskii 1 sibling, 0 replies; 6+ messages in thread From: Eli Zaretskii @ 2007-02-18 22:42 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: nickrob, gdb > Date: Sat, 17 Feb 2007 08:53:11 -0500 > From: Daniel Jacobowitz <drow@false.org> > Cc: nickrob@snap.net.nz, gdb@sourceware.org > > My next choice would be to remove "set processor"; but if you think > it's still in use and worthwhile as an alias, we could add > "show processor" as a new alias instead. I don't know if `set processor' is still in use or not. If we tend to remove it, it would be good to try to find out why the alias was introduced in the first pace; perhaps then we will be able to decide whether those reasons are still valid. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-18 4:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-02-16 12:43 `processor' command Nick Roberts 2007-02-16 12:56 ` Daniel Jacobowitz 2007-02-17 11:43 ` Eli Zaretskii 2007-02-17 21:20 ` Daniel Jacobowitz 2007-02-18 10:47 ` Nick Roberts 2007-02-18 22:42 ` Eli Zaretskii
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox