* breakpoint.h (bp_location_p): New typedef.
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / gdb.exp
index 8ad879289a2fc061423f39205680e7a0e7ddfe6a..bb9bd24f540c9b1255b7d5b43d0215648c05e37f 100644 (file)
@@ -432,13 +432,13 @@ proc runto_main { } {
 ### worked.  Use NAME as part of the test name; each call to
 ### continue_to_breakpoint should use a NAME which is unique within
 ### that test file.
-proc gdb_continue_to_breakpoint {name} {
+proc gdb_continue_to_breakpoint {name {location_pattern .*}} {
     global gdb_prompt
     set full_name "continue to breakpoint: $name"
 
     send_gdb "continue\n"
     gdb_expect {
-       -re "Breakpoint .* at .*\r\n$gdb_prompt $" {
+       -re "Breakpoint .* at $location_pattern\r\n$gdb_prompt $" {
            pass $full_name
        }
        -re ".*$gdb_prompt $" {
This page took 0.027812 seconds and 4 git commands to generate.