[PATCH] testsuite: introduce index in varobj child eval.
Tom Tromey
tromey@redhat.com
Tue Nov 26 16:16:00 GMT 2013
>>>>> "Keven" == Keven Boell <keven.boell@intel.com> writes:
Keven> # Verifies that variable object VARNAME has NUMBER children,
Keven> # where each one is named $VARNAME.<index-of-child> and has type TYPE.
Keven> proc mi_list_array_varobj_children { varname number type testname } {
Keven> + mi_list_array_varobj_children_with_index $varname $number 0 $type $testname
Keven> +}
Keven> +proc mi_list_array_varobj_children_with_index { varname number start_index type testname } {
The new proc should be separated from the previous one by a blank line.
It should have an introductory comment as well.
Also the first line of the new proc is too long. I think it should be
split in the arglist somewhere.
Tom
More information about the Gdb-patches
mailing list