testsuite: introduce index in varobj child eval.
authorKeven Boell <keven.boell@intel.com>
Thu, 21 Nov 2013 09:54:47 +0000 (10:54 +0100)
committerKeven Boell <keven.boell@intel.com>
Fri, 6 Dec 2013 09:02:16 +0000 (10:02 +0100)
commitf84bc21877ea3a58cd77929d9b365fd156df1b33
treed1f332e99c4ff5bf8769f1dbec2690c9af869fdd
parent8662d513466e5743274a36d12f6b63a524e68c0a
testsuite: introduce index in varobj child eval.

In some languages, e.g. fortran, arrays start with index 1
instead 0. This patch changes the MI library to support testing
varobj children of fortran arrays.

2013-11-21  Keven Boell  <keven.boell@intel.com>

testsuite/

* lib/mi-support.exp (mi_list_varobj_children_range): Add
call to mi_list_array_varobj_children_with_index.
(mi_list_array_varobj_children_with_index): New function.
Add parameter to specify array start.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp