aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-07-16 18:48:31 +0000
committerTom Tromey <tromey@redhat.com>2013-07-16 18:48:31 +0000
commit20e3d738feac37983dda0f0b680768315e62d29c (patch)
tree68b6e7bf7f0df961e73511d719a47a6b8ce8e299 /gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
parent61e0fe8313d2213797936e7fd46263c6452057cc (diff)
downloadgdb-20e3d738feac37983dda0f0b680768315e62d29c.zip
gdb-20e3d738feac37983dda0f0b680768315e62d29c.tar.gz
gdb-20e3d738feac37983dda0f0b680768315e62d29c.tar.bz2
test suite fixlet for gdb.trace
This is a minor fix to clean up the last remaining test suite parallelization issue in gdb.trace. mi-traceframe-changed.exp refers to objdir. This patch changes the code to have the same effect, but avoid using that variable. * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
Diffstat (limited to 'gdb/testsuite/gdb.trace/mi-traceframe-changed.exp')
-rw-r--r--gdb/testsuite/gdb.trace/mi-traceframe-changed.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
index cb83dbe..21e11d5 100644
--- a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
+++ b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
@@ -76,8 +76,8 @@ test_tfind_tfile
# Change to a different test case in order to run it on target, and get
# several traceframes.
standard_testfile status-stop.c
-set testfile ${testfile}-1
-set binfile ${objdir}/${subdir}/${testfile}
+append testfile -1
+append binfile -1
set executable $testfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \