[patch] patch for review of PR gdb/10462

Pedro Alves palves@redhat.com
Wed Apr 17 17:02:00 GMT 2013


On 04/17/2013 01:28 PM, mbilal wrote:
> --- gdb.base/default.exp	15 Apr 2013 18:09:02 -0000	1.64
> +++ gdb.base/default.exp	17 Apr 2013 12:18:38 -0000

BTW, is there a rationale for putting this in default.exp, which
is about default actions of commands?  I think setshow.exp might make
more sense.

> +#test argument must be preceded by space
> +foreach x {"history file" "solib-search-path" "data-directory"} {
> +    foreach y {"/home/" "." "~/home" "=home"} {
> +        gdb_test "set $x$y" "Argument must be preceded by space." \
> +            "check space before argument"
> +    }

The uniqueness issue is still here:

 http://sourceware.org/gdb/wiki/GDBTestcaseCookbook#Make_sure_test_messages_are_unique

Is there a reason

       gdb_test_no_output "set $x $y" "set $x $y"

was removed in this version?

-- 
Pedro Alves



More information about the Gdb-patches mailing list