aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.trace/mi-traceframe-changed.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a55b7e3..749864d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-16 Tom Tromey <tromey@redhat.com>
+
+ * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
+
2013-07-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/small_reg_param.exp: Accept optional entry value
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}" \