gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Wed, 3 Apr 2013 10:11:46 +0000 (10:11 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 3 Apr 2013 10:11:46 +0000 (10:11 +0000)
* gdb.trace/mi-traceframe-changed.exp: Update tfile name to
"tfile-basic.tf".
(test_tfind_tfile): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp

index 24abf7b00b9b682124ca697b1e360329bd1216cc..ed5878f4197e8d9564036cdcf998e225349a060f 100644 (file)
@@ -1,3 +1,9 @@
+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
index 7849a7eea175f8ba47048c957546b83f45ef06ef..cb83dbe71ed5d91fd226382365fa81dd65badcfb 100644 (file)
@@ -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"