From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: -inferior-tty-show and -inferior-tty-set
Date: Wed, 13 Jul 2005 03:59:00 -0000 [thread overview]
Message-ID: <20050713035857.GA22181@nevyn.them.org> (raw)
In-Reply-To: <17108.33601.794016.525239@farnswood.snap.net.nz>
On Wed, Jul 13, 2005 at 02:58:09PM +1200, Nick Roberts wrote:
>
> -inferior-tty-show and -inferior-tty-set seem to accept any number of
> arguments:
>
> (gdb)
> -inferior-tty-show asdf
> ^done
> (gdb)
>
> (gdb)
> -inferior-tty-set asdf qwert
> ^done
> (gdb)
These we need to rediscuss whether to have at all - I'm still inclined
to yes, you're still inclined to no, I haven't had time to sit down and
write about it.
> With mi_cmd_inferior_tty_set there is no test. mi_cmd_inferior_tty_show
> uses mi_valid_noargs which returns 1 even with arguments (mi_getopt
> only returns something other than -1 if it finds an option i.e an argument
> starting with `-').
>
> Since mi_cmd_file_list_exec_source_file and mi_cmd_file_list_exec_source_files
> also use mi_valid_noargs, their associated MI commands also accept any number
> of arguments.
Ouch. That definitely ought to be fixed...
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-07-13 3:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-13 2:57 Nick Roberts
2005-07-13 3:59 ` Daniel Jacobowitz [this message]
2005-07-13 22:46 ` Bob Rossi
2005-07-13 22:55 ` Nick Roberts
2005-07-13 23:39 ` Bob Rossi
2005-07-14 6:36 ` Nick Roberts
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=20050713035857.GA22181@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).