public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4 V2] Partially available/unavailable data in requested range
@ 2014-04-28  6:15 Yao Qi
  2014-04-28  6:15 ` [PATCH 3/4] Save traceframes in trace file and read data out from trace file Yao Qi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Yao Qi @ 2014-04-28  6:15 UTC (permalink / raw)
  To: gdb-patches

This patch series is V2, to address review comments in V1
https://sourceware.org/ml/gdb-patches/2014-04/msg00395.html

There are some changes in V2:

 - Fall back to read from executable if requested data is unavailable
   in trace frames.
 - Modify gdb.trace/unavailable.exp to cover the scenario this patch
   is to fix.

gdb.trace/unavailable.exp is to test the collected trace data in live
inferior, but this fix is about collected trace data in trace file.
Patch #1 refactors unavailable.exp, so that it can be extended to
cover trace files.  During the refactor, we find automatic display
behaves differently on live inferior and on trace file.  Patch #2
is to get rid of this difference.  Then, patch #3 extends unavailable.exp
by saving traceframes into trace files, read data from them, and test
the output is identical among these targets (remote, tfile and ctf).
After this change, unavailable.exp exposes the problem patch #4 tries
to fix (see more details about the problem in patch #4).  I'll squash
patch #3 and #4 before push them into repository.

The patch series is tested on x86_64-linux with target_board unix and
native-gdbserver respectively.

*** BLURB HERE ***

Yao Qi (4):
  Move traceframe checking out of traceframe generation
  Show new created display
  Save traceframes in trace file and read data out from trace file.
  Partially available/unavailable data in requested range

 gdb/ctf.c                               |  11 +-
 gdb/printcmd.c                          |   2 +-
 gdb/testsuite/gdb.trace/unavailable.exp | 758 +++++++++++++++++++-------------
 gdb/tracefile-tfile.c                   |  11 +-
 4 files changed, 482 insertions(+), 300 deletions(-)

-- 
1.9.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-05  3:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-28  6:15 [PATCH 0/4 V2] Partially available/unavailable data in requested range Yao Qi
2014-04-28  6:15 ` [PATCH 3/4] Save traceframes in trace file and read data out from trace file Yao Qi
2014-04-30 16:26   ` Pedro Alves
2014-05-05  3:52     ` Yao Qi
2014-04-28  6:15 ` [PATCH 2/4] Show new created display Yao Qi
2014-04-30 16:26   ` Pedro Alves
2014-04-28  6:15 ` [PATCH 1/4] Move traceframe checking out of traceframe generation Yao Qi
2014-04-30 16:15   ` Pedro Alves
2014-04-28  6:15 ` [PATCH 4/4] Partially available/unavailable data in requested range Yao Qi
2014-04-30 16:29   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).