From: Daniel Jacobowitz Date: Tue, 16 Feb 2010 20:23:43 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c5fe8687628c21f2353c231cf55da0ca68cb2f4;p=binutils-gdb.git gdb/testsuite/ * gdb.cp/cpcompletion.exp: Specify source file name explicitly. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ff1b0099aeb..3f1096579f4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-02-16 Daniel Jacobowitz + + * gdb.cp/cpcompletion.exp: Specify source file name explicitly. + 2010-02-16 Daniel Jacobowitz * gdb.base/comp-dir/subdir/dummy.txt: New file. diff --git a/gdb/testsuite/gdb.cp/cpcompletion.exp b/gdb/testsuite/gdb.cp/cpcompletion.exp index 69c2c6f70bf..1afcc3edd95 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