From 3758b5ce9576f35df7434aa17a3298cae2ced74d Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 3 Apr 2013 10:11:46 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.trace/mi-traceframe-changed.exp: Update tfile name to "tfile-basic.tf". (test_tfind_tfile): Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ 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 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" -- 2.34.1