From: David Taylor <dtaylor@emc.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: possible QTFrame enhancement
Date: Thu, 18 Sep 2014 21:06:00 -0000 [thread overview]
Message-ID: <4250.1411074396@usendtaylorx2l> (raw)
For the remote protocol QTFrame message there are everal variants:
QTFrame:n
select the n'th tracepoint frame from the buffer
QTFrame:pc:addr
select the first tracepoint frame *AFTER* the currently seelctd
frame whose PC is addr.
QTFrame:tdp:t
select the first tracepoint frame *AFTER* the currently selected
tracepoint frame that is a hit of tracepoint t.
QTFrame:range:start:end
select the first tracepoint frame *AFTER* the currently selected
fraome whose PC is between start and end
QTFrame:outside:start:end
select the first tracepoint frame *AFTER* the currently selected
frame whose PC is outside the range of addresses.
Which are used by the tfind command and its subcommands:
tfind end
tfind line
tfind none
tfind outside
tfind pc
tfind range
tfind start
tfind tracepoint
We (EMC) have a developer who runs trace experiments that generate
*LOTS* of tracepoint frames -- possibly 100,000 or more! He then likes
to find an anomaly and search *BACKWARDS* to find where things first
started going bad.
Other than the first QTFrame variant above -- which does no searching --
all of the above QTFrame variants search *FORWARDS* from the current
tracepoint frame.
If there was support for searching backwards, what form should it take?
. what should the QTFrame message(s) be?
. what should the tfind commands be?
. should there be a 'token' returned by qSupported to indicate support
for the new messages? And if so, what 'token'? Or should GDB figure it
out by sending one of the messages and trusting that it will get an
error if it is unsupported?
David
next reply other threads:[~2014-09-18 21:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 21:06 David Taylor [this message]
2014-10-16 17:03 ` David Taylor
2014-10-16 21:15 ` Pedro Alves
2014-10-16 23:23 ` Stan Shebs
2014-10-22 18:37 ` David Taylor
2014-10-29 19:01 ` Doug Evans
2014-10-29 22:18 ` Stan Shebs
2015-02-13 19:50 ` filtering traceframes (was: Re: possible QTFrame enhancement) David Taylor
2015-02-22 16:38 ` Doug Evans
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=4250.1411074396@usendtaylorx2l \
--to=dtaylor@emc.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