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 17:21:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA0429120A@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <200806251907.58610.vladimir@codesourcery.com>
Hi,
just to give input on DSF's use of these commands,
although that doesn't speak for any other frontend.
> -exec-next
> -exec-next-instruction
> -exec-step
> -exec-step-instruction
> -exec-continue
DSF does use a parameter on some of these but it is only an integer.
So, no problem here.
> The bad ones are:
>
> -exec-until
We use a parameter of format file:line
I guess it could be a problem if the file name had a space in it.
> -target-download
Not used yet. But any future use will require to have some special
code if we want to support older GDBs.
> -target-select
>
The parameters here are host:port or serialDevice, which I believe
will not contain spaces. Should be fine.
> -exec-run
No parameters used by DSF.
> -exec-return
>
No parameters used by DSF.
> So, we have 3 commands for which requiring the input to be
> quoted per MI rules
> will cause issues; and fixing those issues will require
> changing other parts of
> GDB to avoid parsing filenames, which is risky at this point.
> It appears, that
> instead of reverting my original patch, we can just path
> those 3 commands
> via CLI directly. Does the plan sound reasonable?
For DSF, it should mean no changes, so I like this solution.
> Ideally, we'd require
> all commands to use MI quoting, but this might break lots of
> things. You
> might recall that our non-stop delivery to you started to
> require quoting for
> -break-condition -- which you did not exactly like :-)
Yes, I remember :-)
Backwards compatibility is always a pain.
next parent reply other threads:[~2008-06-25 17:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200806251907.58610.vladimir@codesourcery.com>
2008-06-25 17:21 ` Marc Khouzam [this message]
2008-06-25 17:28 ` Vladimir Prus
2008-06-25 9:06 Vladimir Prus
2008-06-25 14:45 ` Marc Khouzam
2008-06-27 13:53 ` Daniel Jacobowitz
2008-06-27 14:39 ` 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=6D19CA8D71C89C43A057926FE0D4ADAA0429120A@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