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: [patch] gdb.base/pending.exp replace gdb_test_multi


On Sat, 05 Jun 2010 00:16:42 +0200, Michael Snyder wrote:
> This is a simplification.

> -gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" {
> -     -re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
> -	    gdb_test "n" "" "Don't set pending breakpoint"
> -     }
> -}
> +gdb_test "break pendfunc2" \
> +    "" \
> +    "Don't set pending breakpoint" \
> +    ".*Make breakpoint pending.*y or \\\[n\\\]. $" \
> +    "n"

With ".*" vs. gdb_test_no_output distinguishing now should be ".*" here
instead?  (Maybe a more specific string would be also appropriate.)


Thanks,
Jan


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