mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
gdb/testsuite/
* gdb.trace/report.exp: Use standard_output_file for saved trace file.
This commit is contained in:
parent
5c2b44181d
commit
f37867715f
@ -1,3 +1,8 @@
|
||||
2013-04-10 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gdb.trace/report.exp: Use standard_output_file for saved
|
||||
trace file.
|
||||
|
||||
2013-04-10 Hui Zhu <hui@codesourcery.com>
|
||||
|
||||
* gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
|
||||
|
@ -407,11 +407,14 @@ gdb_tfind_test "finished: make sure not debugging any trace frame" \
|
||||
"none" "-1"
|
||||
|
||||
# Save trace frames to tfile.
|
||||
gdb_test "tsave report.tf" "Trace data saved to file 'report.tf'.*"
|
||||
set tracefile [standard_output_file ${testfile}]
|
||||
gdb_test "tsave ${tracefile}.tf" \
|
||||
"Trace data saved to file '${tracefile}.tf'.*" \
|
||||
"save tfile trace file"
|
||||
|
||||
# Change target to tfile.
|
||||
set test "change to tfile target"
|
||||
gdb_test_multiple "target tfile report.tf" "$test" {
|
||||
gdb_test_multiple "target tfile ${tracefile}.tf" "$test" {
|
||||
-re "A program is being debugged already. Kill it. .y or n. " {
|
||||
send_gdb "y\n"
|
||||
exp_continue
|
||||
|
Loading…
Reference in New Issue
Block a user