From: Tom Tromey <tromey@redhat.com>
To: Stan Shebs <stan@codesourcery.com>
Cc: Doug Evans <dje@google.com>, "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: [RFC] Collecting strings at tracepoints
Date: Wed, 16 Jun 2010 18:27:00 -0000 [thread overview]
Message-ID: <m3bpbasuig.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C191555.5060404@codesourcery.com> (Stan Shebs's message of "Wed, 16 Jun 2010 11:17:57 -0700")
>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:
Stan> That's right. Partly because the expedient for string collection
Stan> right now is "*str@40", so it extends a known behavior, and partly
Stan> because '@' is about the only character that isn't already claimed by
Stan> language and/or GDB command syntax.
Not to bikeshed this too much, but another idea would be to extend the
current syntax:
*str @ -1 /* find the \0 */
*str @ { -1, 80 } /* find the \0, or stop at 80 */
Tom
prev parent reply other threads:[~2010-06-16 18:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 22:53 Stan Shebs
2010-06-04 23:00 ` Michael Snyder
2010-06-08 21:19 ` Tom Tromey
2010-06-15 22:51 ` Doug Evans
2010-06-16 0:09 ` Stan Shebs
2010-06-16 18:00 ` Doug Evans
2010-06-16 18:18 ` Stan Shebs
2010-06-16 18:27 ` Tom Tromey [this message]
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=m3bpbasuig.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=dje@google.com \
--cc=gdb@sourceware.org \
--cc=stan@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