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 5/6 is the major part of this series, and patch 6/6 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 4/5 does.
Patch 1/6, 2/6 and 3/6 is code refactor.
The whole series are tested on x86_64-linux with native and gdbserver.
This is the V2 of this series. In V2, there are several changes:
- Mention some changes in ChangeLog entry and correct comments.
- Split the changes on encode_actions in a different way, which is more
readable.
- Move the change from warning to error to a separate patch.
- Explain what 'tvar' element does in NEWS.
The V1 can be found<http://sourceware.org/ml/gdb-patches/2013-06/msg00148.html>