From b02a33db5021ba4b61115784a689d1017181872a Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 4 Sep 2008 22:00:25 +0000 Subject: [PATCH] 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). --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 $" { -- 2.30.2