diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-02-16 20:23:43 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-02-16 20:23:43 +0000 |
commit | 7c5fe8687628c21f2353c231cf55da0ca68cb2f4 (patch) | |
tree | 8be94de6a1873ad0d8b5aa1d5fa365ec63a78a5e /gdb/testsuite/gdb.cp/cpcompletion.exp | |
parent | fdc498b81cfb6943b0d544047e8d519dab0f1662 (diff) | |
download | fsf-binutils-gdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.zip fsf-binutils-gdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.tar.gz fsf-binutils-gdb-7c5fe8687628c21f2353c231cf55da0ca68cb2f4.tar.bz2 |
gdb/testsuite/
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
Diffstat (limited to 'gdb/testsuite/gdb.cp/cpcompletion.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/cpcompletion.exp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |