[RFA 7/7 take 2] Linker-debugger interface tests

Jan Kratochvil jan.kratochvil@redhat.com
Sat May 25 21:06:00 GMT 2013


On Fri, 24 May 2013 10:38:37 +0200, Gary Benson wrote:
> --- /dev/null
> +++ b/gdb/testsuite/gdb.base/info-shared.exp
[...]
> +# Set up breakpoints.
> +gdb_breakpoint "stop"
> +gdb_breakpoint "foo" allow-pending
> +gdb_breakpoint "bar" allow-pending
> +
> +# Run to the first stop and check that only the first library is loaded.
> +gdb_continue_to_breakpoint "library load #1" ".*stop.*"

All these regexes please replace by:
	s/"\.\*\([a-z]*\)\.\*"/"\1 .*"/
that is 
	"stop .*"
and others below; it is matched even against the printed source line where it
could have same false positive with the leading '.*'.


OK for check-in with these changes.


Thanks,
Jan



More information about the Gdb-patches mailing list