This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/5] New MI command -trace-frame-collected
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 7 Jun 2013 21:08:08 +0800
- Subject: [PATCH 0/5] New MI command -trace-frame-collected
Hi,
In a given traceframe, there are explicitly collected variables,
registers, trace state variables, memories, and computed expressions.
In MI, we don't have a command to dump these contents, and this patch
adds -trace-frame-collected to do so.
Patch 4/5 is the major part of this series, and patch 5/5 is the test
to -trace-frame-collected. GDB needs to know what trace state
variables are collected in a traceframe, so we extended the
qXfer:traceframe-info object to report the set of collected trace
state variables in the current traceframe. That is what patch 3/5 does.
Patch 1/5, and 2/5 code refactor.
The whole series are tested on x86_64-linux with native and gdbserver.
*** BLURB HERE ***
Yao Qi (5):
Remove global variable tracepoint_list and stepping_list.
Move code to get_traceframe_location.
Add id of TSV into traceframe_info.
New MI command -trace-frame-collected
New test: gdb.trace/mi-trace-frame-collected.exp
gdb/NEWS | 9 +
gdb/breakpoint.c | 2 -
gdb/common/filestuff.c | 2 -
gdb/common/gdb_vecs.h | 2 +
gdb/ctf.c | 12 +
gdb/doc/gdb.texinfo | 122 ++++++++-
gdb/dwarf2loc.c | 2 -
gdb/features/traceframe-info.dtd | 5 +-
gdb/gdbserver/tracepoint.c | 7 +
gdb/mi/mi-cmds.c | 2 +
gdb/mi/mi-cmds.h | 1 +
gdb/mi/mi-main.c | 296 +++++++++++++++++++-
gdb/remote.c | 2 +-
.../gdb.trace/mi-trace-frame-collected.exp | 157 ++++++++++
gdb/tracepoint.c | 308 +++++++++++++-------
gdb/tracepoint.h | 53 ++++-
16 files changed, 860 insertions(+), 122 deletions(-)
create mode 100644 gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp
--
1.7.7.6