aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2008-09-04 22:00:25 +0000
committerMichael Snyder <msnyder@vmware.com>2008-09-04 22:00:25 +0000
commitb02a33db5021ba4b61115784a689d1017181872a (patch)
treed18afaf35c76dc7415a74453c04e097019a6b333 /gdb/testsuite/lib
parent74aac56ff768c00a7f7acec1dacc8fec5e07ea4f (diff)
downloadgdb-b02a33db5021ba4b61115784a689d1017181872a.zip
gdb-b02a33db5021ba4b61115784a689d1017181872a.tar.gz
gdb-b02a33db5021ba4b61115784a689d1017181872a.tar.bz2
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).
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 3761d7a..3fbd97f 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 $" {