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] Harden gdb.base/bp-permanent.exp


On 04/14/2015 12:45 PM, Luis Machado wrote:

>  	for {set i 0} {$i < $count} {incr i} {
> +	    set test "p /x addr_bp\[$i\] = buffer\[$i\]"
>  	    gdb_test_multiple "p /x addr_bp\[$i\] = buffer\[$i\]" $test {

Might as well replace the same string in the gdb_test_multiple too:

 	    gdb_test_multiple $test $test {

OK with that change.

Thanks,
Pedro Alves


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