Index: gdb/testsuite/gdb.base/pending.exp |
diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp |
index 79c45763ed66fd5245628819f622e78a1f2a67bb..1d621de3211733215944e85128b1d4408adc661d 100644 |
--- a/gdb/testsuite/gdb.base/pending.exp |
+++ b/gdb/testsuite/gdb.base/pending.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2003-2005, 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2003-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -23,12 +23,10 @@ if {[skip_shlib_tests]} { |
return 0 |
} |
-set testfile "pending" |
+standard_testfile .c |
set libfile "pendshr" |
-set srcfile $testfile.c |
set libsrc $srcdir/$subdir/$libfile.c |
-set binfile $objdir/$subdir/$testfile |
-set lib_sl $objdir/$subdir/$libfile.sl |
+set lib_sl [standard_output_file $libfile.sl] |
set lib_opts debug |
set exec_opts [list debug shlib=$lib_sl] |
@@ -55,6 +53,9 @@ gdb_test_multiple "break pendfunc1" "set pending breakpoint" { |
} |
} |
+# Complete the condition (PR 15413). |
+gdb_test "complete condition " "condition 1" |
+ |
gdb_test "info break" \ |
"Num Type\[ \]+Disp Enb Address\[ \]+What.* |
\[0-9\]+\[\t \]+breakpoint keep y.*PENDING.*pendfunc1.*" \ |