This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: introduce index in varobj child eval.
- From: Tom Tromey <tromey at redhat dot com>
- To: Keven Boell <keven dot boell at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 26 Nov 2013 08:16:05 -0700
- Subject: Re: [PATCH] testsuite: introduce index in varobj child eval.
- Authentication-results: sourceware.org; auth=none
- References: <1385467825-5236-1-git-send-email-keven dot boell at intel dot com>
>>>>> "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