OSDN Git Service

2008-09-04 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Thu, 4 Sep 2008 22:00:25 +0000 (22:00 +0000)
committermsnyder <msnyder>
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 827c9f9..b9c192c 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 3761d7a..3fbd97f 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 $" {