* gdb.base/finish.exp (finish_void): Revise pattern for

stopping on the call statement to not permit stopping at
	the start of the instructions comprising the call sequence.
This commit is contained in:
Kevin Buettner
2001-05-24 01:14:15 +00:00
parent e90fdc1abd
commit f6dc23a931
2 changed files with 7 additions and 1 deletions

View File

@ -85,7 +85,7 @@ proc finish_void { } {
-re ".*void_checkpoint.*$gdb_prompt $" {
pass "finish from void_func"
}
-re ".*call to void_func.*$gdb_prompt $" {
-re "0x\[0-9a-fA-F\]+ in main.*call to void_func.*$gdb_prompt $" {
pass "finish from void_func"
}
-re ".*$gdb_prompt $" {