This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/4] Save traceframes in trace file and read data out from trace file.
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 5 May 2014 11:49:34 +0800
- Subject: Re: [PATCH 3/4] Save traceframes in trace file and read data out from trace file.
- Authentication-results: sourceware.org; auth=none
- References: <1398665538-16580-1-git-send-email-yao at codesourcery dot com> <1398665538-16580-4-git-send-email-yao at codesourcery dot com> <53612431 dot 6040704 at redhat dot com>
On 05/01/2014 12:26 AM, Pedro Alves wrote:
>> + gdb_test "tsave -ctf ${tracefile}.floats.ctf" \
> I trust this works even if "target ctf" isn't supported?
Yes, we use generic file write/seek APIs to write ctf trace file,
but use libbabeltrace to read from ctf trace file. Even "target
ctf" isn't supported (libbabeltrace isn't used), GDB is still able
to save in ctf format.
Patches are pushed in. Thanks for the review.
--
Yao (éå)