This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]