diff options
author | Michael Snyder <msnyder@vmware.com> | 2008-09-04 22:00:25 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2008-09-04 22:00:25 +0000 |
commit | b02a33db5021ba4b61115784a689d1017181872a (patch) | |
tree | d18afaf35c76dc7415a74453c04e097019a6b333 /gdb | |
parent | 74aac56ff768c00a7f7acec1dacc8fec5e07ea4f (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 827c9f9..b9c192c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. 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 $" { |