Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: starting gdb/mi from FE
Date: Mon, 05 Jun 2006 21:25:00 -0000	[thread overview]
Message-ID: <20060605212532.GA1935@nevyn.them.org> (raw)
In-Reply-To: <upshnz89d.fsf@gnu.org>

On Mon, Jun 05, 2006 at 10:56:30PM +0300, Eli Zaretskii wrote:
> > Date: Mon, 5 Jun 2006 09:45:17 -0400
> > From: Bob Rossi <bob_rossi@cox.net>
> > 
> > $ ./gdb/gdb -q -i=mi4,mi3 ./main
> 
> Multiple values separated by a comma is not how GNU programs accept
> multiple values for the same option.  -i=mi4 -i=mi3 is more like it.

Is it?  I couldn't find anything about this in e.g. the coding
standards.

I find -i=mi4,mi3 more intuitive here; I'd interpret -i=mi4 -i=mi3 as
either "use both" or "use the last one on the command line", but
-i=mi4,mi3 as either "use both" or "use the first one which works".
I think the "use the last one" behavior is fairly common; otherwise
there'd be no way to invoke a command specified as "gdb -i=mi2" in mi1
mode without sedding the user-specified command looking for -i options.

Of course I don't have a strong opinion on this.  Just musing; feel
free to ignore.

-- 
Daniel Jacobowitz
CodeSourcery


  parent reply	other threads:[~2006-06-05 21:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05 13:45 Bob Rossi
2006-06-05 19:56 ` Eli Zaretskii
2006-06-05 19:58   ` Bob Rossi
2006-06-05 20:23     ` Eli Zaretskii
2006-06-05 21:25   ` Daniel Jacobowitz [this message]
2006-06-05 21:28     ` Bob Rossi
2006-06-06  3:44     ` Eli Zaretskii
2006-06-05 19:59 ` Daniel Jacobowitz
2006-06-05 20:49   ` Bob Rossi
2006-06-06  0:55 Nick Roberts
2006-06-06  1:20 ` Daniel Jacobowitz
2006-06-06  1:56   ` Bob Rossi
2006-06-06  3:16     ` Daniel Jacobowitz
2006-06-06  2:03   ` Nick Roberts
2006-06-06  2:04     ` Bob Rossi
2006-06-06 17:22     ` Jim Ingham
2006-06-06 17:30       ` Daniel Jacobowitz
2006-06-06 17:41         ` Jim Ingham
2006-06-06  1:33 ` Bob Rossi
2006-06-06  1:56   ` Nick Roberts
2006-06-06  2:01     ` Bob Rossi
2006-06-06  2:30       ` 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=20060605212532.GA1935@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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