From: Yao Qi Date: Wed, 3 Apr 2013 10:11:46 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3758b5ce9576f35df7434aa17a3298cae2ced74d;p=binutils-gdb.git gdb/testsuite/ * gdb.trace/mi-traceframe-changed.exp: Update tfile name to "tfile-basic.tf". (test_tfind_tfile): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 24abf7b00b9..ed5878f4197 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-04-03 Yao Qi + + * gdb.trace/mi-traceframe-changed.exp: Update tfile name to + "tfile-basic.tf". + (test_tfind_tfile): Likewise. + 2013-04-03 Yao Qi * gdb.trace/tfile.c (write_basic_trace_file): Pass argument diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp index 7849a7eea17..cb83dbe71ed 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"