This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 7/7 take 2] Linker-debugger interface tests
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 25 May 2013 23:05:56 +0200
- Subject: Re: [RFA 7/7 take 2] Linker-debugger interface tests
- References: <20130516144340 dot GA2105 at blade dot nx> <20130516144857 dot GH2105 at blade dot nx> <20130519134509 dot GA5625 at host2 dot jankratochvil dot net> <20130524083837 dot GD4602 at blade dot nx>
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