This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]