[gdb] Allow function arguments in bp print match in selftest_setup
2018-06-14 Tom de Vries <tdevries@suse.de> * lib/selftest-support.exp (selftest_setup): Allow function arguments in matching of breakpoint printing.
This commit is contained in:
parent
11f4b608e6
commit
70ee000084
@ -1,3 +1,8 @@
|
|||||||
|
2018-06-14 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
|
* lib/selftest-support.exp (selftest_setup): Allow function arguments in
|
||||||
|
matching of breakpoint printing.
|
||||||
|
|
||||||
2018-06-13 Tom de Vries <tdevries@suse.de>
|
2018-06-13 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
PR testsuite/23269
|
PR testsuite/23269
|
||||||
|
@ -88,10 +88,10 @@ proc selftest_setup { executable function } {
|
|||||||
|
|
||||||
set description "run until breakpoint at $function"
|
set description "run until breakpoint at $function"
|
||||||
gdb_test_multiple "run $INTERNAL_GDBFLAGS" "$description" {
|
gdb_test_multiple "run $INTERNAL_GDBFLAGS" "$description" {
|
||||||
-re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(\\).* at .*main.c:.*$gdb_prompt $" {
|
-re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(.*\\).* at .*main.c:.*$gdb_prompt $" {
|
||||||
pass "$description"
|
pass "$description"
|
||||||
}
|
}
|
||||||
-re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(\\).*$gdb_prompt $" {
|
-re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(.*\\).*$gdb_prompt $" {
|
||||||
xfail "$description (line numbers scrambled?)"
|
xfail "$description (line numbers scrambled?)"
|
||||||
}
|
}
|
||||||
-re "Starting program.*Breakpoint \[0-9\]+,.* at .*main.c:.*$function.*$gdb_prompt $" {
|
-re "Starting program.*Breakpoint \[0-9\]+,.* at .*main.c:.*$function.*$gdb_prompt $" {
|
||||||
|
Loading…
Reference in New Issue
Block a user