Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Vladimir Prus" <vladimir@codesourcery.com>, <gdb@sources.redhat.com>
Subject: RE: [MI] argv/argc/args
Date: Wed, 25 Jun 2008 14:45:00 -0000	[thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04291206@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <200806251306.27720.vladimir@codesourcery.com>



> From: Vladimir Prus
> Sent: Wednesday, June 25, 2008 5:06 AM
> 
> In GDB 6.8 codebase, there were 3 different ways an MI 
> command can be processed:
> 
> 1. Sneaking via CLI directly (calling execute_command)
> 2. Calling a function, that takes argc/argv pair
> 3. Calling a function, that takes a string 'args' parameter with
> the raw part of MI command string after the command name.
> 
> Some time ago, I've checked in a patch to remove (3), to clarify the
> code. Dan has raised concerns about backward compatibility, so here's
> an attempt to analyze the change afresh.

I never quite understood the quoting for MI commands.  If I recall,
some commands need quotes when they use spaces, while others are not
allowed to use quotes.  I does cause a bit of a headache.

What is the impact of removing (3) above?  Quotes will be needed
or will not be allowed?

Thanks

marc

  reply	other threads:[~2008-06-25 14:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  9:06 Vladimir Prus
2008-06-25 14:45 ` Marc Khouzam [this message]
2008-06-27 13:53 ` Daniel Jacobowitz
2008-06-27 14:39   ` Vladimir Prus
     [not found] <200806251907.58610.vladimir@codesourcery.com>
2008-06-25 17:21 ` Marc Khouzam
2008-06-25 17:28   ` Vladimir Prus

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=6D19CA8D71C89C43A057926FE0D4ADAA04291206@ecamlmw720.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb@sources.redhat.com \
    --cc=vladimir@codesourcery.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