From: Doug Evans <dje@google.com>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] new python features: gdb.GdbError, gdb.string_to_argv
Date: Sat, 22 May 2010 21:19:00 -0000 [thread overview]
Message-ID: <AANLkTinSbLNGmUMB01LFofTVz-p5nuka5k9rfCcExLkH@mail.gmail.com> (raw)
In-Reply-To: <m339xjyg37.fsf@fleche.redhat.com>
On Sat, May 22, 2010 at 10:57 AM, Tom Tromey <tromey@redhat.com> wrote:
> Doug> and I wanted a utility to translate the argument string into an argv.
>
> I think you can use the built-in shlex.split for this.
Depends I guess.
I remembered you saying we want to be able to write compatible
replacements for gdb commands in python, and some gdb commands use
libiberty's buildargv.
Ergo I wanted a 100% identical version of buildargv that I know I can
"just use" (e.g. without any needed extra, manual, error-prone setup),
and not worry about any differences between the behavior.
So, setting aside the implementation (i.e. maybe gdb.string_to_argv
could be implemented with shlex, or anything else), I still think
having it is reasonable.
But whatever, it's not that important.
next prev parent reply other threads:[~2010-05-22 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-22 17:36 Doug Evans
2010-05-22 19:00 ` Tom Tromey
2010-05-22 21:19 ` Doug Evans [this message]
2010-05-24 16:27 ` Tom Tromey
2010-05-24 18:04 ` Doug Evans
2010-05-24 22:57 ` Tom Tromey
2010-05-25 3:05 ` Doug Evans
2010-05-23 18:55 ` 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=AANLkTinSbLNGmUMB01LFofTVz-p5nuka5k9rfCcExLkH@mail.gmail.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.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