diff options
author | Yao Qi <yao@codesourcery.com> | 2013-04-03 10:11:46 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-04-03 10:11:46 +0000 |
commit | 3758b5ce9576f35df7434aa17a3298cae2ced74d (patch) | |
tree | b2c802c85b6eff231127713f01ce8acb87bf3799 /gdb/testsuite | |
parent | 1dcaed0de0fd62cc5a87b7929d2572039612fe3f (diff) | |
download | gdb-3758b5ce9576f35df7434aa17a3298cae2ced74d.zip gdb-3758b5ce9576f35df7434aa17a3298cae2ced74d.tar.gz gdb-3758b5ce9576f35df7434aa17a3298cae2ced74d.tar.bz2 |
gdb/testsuite/
* gdb.trace/mi-traceframe-changed.exp: Update tfile name to
"tfile-basic.tf".
(test_tfind_tfile): Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 24abf7b..ed5878f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2013-04-03 Yao Qi <yao@codesourcery.com> + * gdb.trace/mi-traceframe-changed.exp: Update tfile name to + "tfile-basic.tf". + (test_tfind_tfile): Likewise. + +2013-04-03 Yao Qi <yao@codesourcery.com> + * gdb.trace/tfile.c (write_basic_trace_file): Pass argument "tfile-basic.tf" instead of "basic.tf". (write_error_trace_file): Pass argument "tfile-error.tf" diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp index 7849a7e..cb83dbe 100644 --- a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp @@ -27,12 +27,13 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ } # Make sure we are starting fresh. -remote_file host delete basic.tf -remote_file target delete basic.tf +remote_file host delete tfile-basic.tf +remote_file target delete tfile-basic.tf remote_exec target "$binfile" # Copy tracefile from target to host. -remote_download host [remote_upload target basic.tf] basic.tf +remote_download host [remote_upload target tfile-basic.tf] \ + tfile-basic.tf proc test_tfind_tfile { } { with_test_prefix "tfile" { @@ -44,7 +45,7 @@ proc test_tfind_tfile { } { } mi_gdb_load ${binfile} - mi_gdb_test "-target-select tfile basic.tf" \ + mi_gdb_test "-target-select tfile tfile-basic.tf" \ ".*=breakpoint-created,bkpt=\{number=\"${decimal}\",type=\"tracepoint\",disp=\"keep\",enabled=\"y\",.*,func=\"write_basic_trace_file\".*\\^connected" \ "select trace file" |