This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4 V2] Partially available/unavailable data in requested range
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 28 Apr 2014 14:12:14 +0800
- Subject: [PATCH 0/4 V2] Partially available/unavailable data in requested range
- Authentication-results: sourceware.org; auth=none
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