aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-02-16 20:23:43 +0000
committerDaniel Jacobowitz <drow@false.org>2010-02-16 20:23:43 +0000
commit7c5fe8687628c21f2353c231cf55da0ca68cb2f4 (patch)
tree8be94de6a1873ad0d8b5aa1d5fa365ec63a78a5e /gdb
parentfdc498b81cfb6943b0d544047e8d519dab0f1662 (diff)
downloadgdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.zip
gdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.tar.gz
gdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.tar.bz2
gdb/testsuite/
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/cpcompletion.exp3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ff1b009..3f10965 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
+ * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
+
+2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
+
* gdb.base/comp-dir/subdir/dummy.txt: New file.
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
a temporary directory.
diff --git a/gdb/testsuite/gdb.cp/cpcompletion.exp b/gdb/testsuite/gdb.cp/cpcompletion.exp
index 69c2c6f..1afcc3e 100644
--- a/gdb/testsuite/gdb.cp/cpcompletion.exp
+++ b/gdb/testsuite/gdb.cp/cpcompletion.exp
@@ -76,8 +76,9 @@ gdb_load ${binfile}
set bp_location [gdb_get_line_number "Set breakpoint here" ${testfile}.cc]
-if {![runto $bp_location]} {
+if {![runto "${testfile}.cc:$bp_location"]} {
perror "test suppressed"
+ return
}
# This also tests inheritance -- completion should only see a single