]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/lib/gdb.exp
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / lib / gdb.exp
index 2de51151f1d2020f8a7fa9d692eedf9363f8b48e..52ec55f2a10eecc04fb6ebfde6e6b4280c5abef4 100644 (file)
@@ -269,6 +269,10 @@ proc gdb_breakpoint { function } {
        -re "Breakpoint \[0-9\]* at .*: file .*, line $decimal.\r\n$gdb_prompt $" {}
        -re "Breakpoint \[0-9\]*: file .*, line $decimal.\r\n$gdb_prompt $" {}
        -re "Breakpoint \[0-9\]* at .*$gdb_prompt $" {}
+       -re "Make breakpoint pending.*y or n. $" { 
+               gdb_test "n" "" "setting breakpoint at $function" ;
+               return 1;
+       }
        -re "$gdb_prompt $" { fail "setting breakpoint at $function" ; return 0 }
        timeout { fail "setting breakpoint at $function (timeout)" ; return 0 }
     }