2008-09-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 4 Sep 2008 22:00:25 +0000 (22:00 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 4 Sep 2008 22:00:25 +0000 (22:00 +0000)
* lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
as "at" (for non-debug functions such as _start).

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 827c9f9fc3d3e63363edf10ea5c1f3f8e950c506..b9c192c5a9880a80064b6bcad27d6c442b0138ee 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-04  Michael Snyder  <msnyder@vmware.com>
+
+       * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
+       as "at" (for non-debug functions such as _start).
+
 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
index 3761d7a170343ae7ce74481f30c944a1afcdc7ec..3fbd97f158d563c97d3a4f732157ce67a026c8d4 100644 (file)
@@ -456,7 +456,7 @@ proc gdb_continue_to_breakpoint {name {location_pattern .*}} {
 
     send_gdb "continue\n"
     gdb_expect {
-       -re "Breakpoint .* at $location_pattern\r\n$gdb_prompt $" {
+       -re "Breakpoint .* (at|in) $location_pattern\r\n$gdb_prompt $" {
            pass $full_name
        }
        -re ".*$gdb_prompt $" {