From: "Jim Blandy" <jimb@red-bean.com>
To: "Jim Blandy" <jimb@red-bean.com>, gdb@sourceware.org
Subject: Re: Quoting, backslashes, CLI and MI
Date: Wed, 22 Feb 2006 18:05:00 -0000 [thread overview]
Message-ID: <8f2776cb0602220939i5189212ds8fb249747851cf72@mail.gmail.com> (raw)
In-Reply-To: <20060222142953.GA20393@nevyn.them.org>
On 2/22/06, Daniel Jacobowitz <drow@false.org> wrote:
> In the CLI buildargv and the expression parser are clearly
> incompatible; we'll have to use it only for non-expression
> commands. Too many languages, et cetera.
That's my feeling too.
> So, some quoting issues there. For MI, the -gdb-set example in
> the manual is very unfortunate:
>
> -gdb-set $foo=3
Yeah --- this seems to me to be taking an overloading of "set"
designed to make life easier for humans and carrying it through to a
machine interface, where it's not helpful, and where the ambiguity is
problematic. I don't think this form of -gdb-set should be (or ever
have been) supported.
> Similar problems apply to the other listed MI commands. For instance,
> -exec-arguments ARGS; should it take a single string which is then
> split by buildargv into a vector, or should it take freeform text which
> is then split into an argument vector? Well, right now it takes a
> literal string, since it just passes the text to CLI "set args".
> That's saved as a string and then passed to create_inferior as a
> string, and eventually passed directly to a shell in the fork-child.c
> case. So, as un-MI-like as it is, I think I'd have to leave this one
> alone for now - it's just too big a can of worms!
You'd have to rework a lot of code to make the quoting happen earlier.
next prev parent reply other threads:[~2006-02-22 17:39 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-22 4:30 Daniel Jacobowitz
2006-02-22 4:35 ` Paul Koning
2006-02-22 19:57 ` Daniel Jacobowitz
2006-02-22 21:57 ` Paul Koning
2006-02-23 4:25 ` Mark Kettenis
2006-02-25 1:30 ` Eli Zaretskii
2006-02-22 4:40 ` Eli Zaretskii
2006-02-22 5:24 ` Daniel Jacobowitz
2006-02-22 19:30 ` Eli Zaretskii
2006-02-22 20:59 ` Daniel Jacobowitz
2006-02-22 17:39 ` Jim Blandy
2006-02-22 18:01 ` Daniel Jacobowitz
2006-02-22 18:05 ` Jim Blandy [this message]
2006-02-22 18:11 ` Daniel Jacobowitz
2006-02-22 19:24 ` Andrew STUBBS
2006-02-22 19:28 ` Daniel Jacobowitz
2006-02-22 19:50 ` Eli Zaretskii
2006-02-22 19:34 ` Eli Zaretskii
2006-02-22 19:53 ` Daniel Jacobowitz
2006-02-23 11:13 ` Eli Zaretskii
2006-02-22 19:25 ` Eli Zaretskii
2006-02-22 19:51 ` Daniel Jacobowitz
2006-02-23 4:32 ` Eli Zaretskii
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=8f2776cb0602220939i5189212ds8fb249747851cf72@mail.gmail.com \
--to=jimb@red-bean.com \
--cc=gdb@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