From: Michael Snyder Date: Thu, 4 Sep 2008 22:00:25 +0000 (+0000) Subject: 2008-09-04 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b02a33db5021ba4b61115784a689d1017181872a;p=binutils-gdb.git 2008-09-04 Michael Snyder * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well as "at" (for non-debug functions such as _start). --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 827c9f9fc3d..b9c192c5a98 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-09-04 Michael Snyder + + * 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 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 3761d7a1703..3fbd97f158d 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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 $" {