This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Hui Zhu <teawater at gmail dot com>, Pedro Alves <palves at redhat dot com>
- Date: Wed, 20 Jun 2012 22:44:22 +0800
- Subject: Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read
- References: <CANFwon3yijJE2S55JQg+qMLepVBOyvzBc40vrtN4aV4YcE4fvw@mail.gmail.com>
Hi, Hui,
I got some fails with your patch applied,
FAIL: gdb.trace/tfile.exp: tstart
FAIL: gdb.trace/tfile.exp: tstop
FAIL: gdb.trace/tfile.exp: load trace file bt.tf (GDB internal error)
FAIL: gdb.trace/tfile.exp: tfind 0 on trace file bt.tf
FAIL: gdb.trace/tfile.exp: backtrace on trace file bt.tf
On Wednesday 20 June 2012 18:08:17 Hui Zhu wrote:
> gdb_test_no_output "tstart"
You start tracing in native, which doesn't support tracepoint.
> +gdb_test "break done_making_trace_files" ".*" ""
> +gdb_test "continue" ".*" ""
> +gdb_test_no_output "tstop"
> +gdb_test "tsave ./bt.tf" ".*" ""
AFAIK, in tfile.exp, trace file is generated by tfile.c and GDB only consumes
these trace files (basic.tf and error.tf) for test purpose.
--
Yao (éå)