Variable 'whatever' is not used at all. This patch is to remove it.
gdb/testsuite:
2013-11-19 Yao Qi <yao@codesourcery.com>
* lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
(mi_list_varobj_children_range): Likewise.
+2013-11-19 Yao Qi <yao@codesourcery.com>
+
+ * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
+ (mi_list_varobj_children_range): Likewise.
+
2013-11-19 Yao Qi <yao@codesourcery.com>
* varobj.c (varobj_get_type): Fix typo.
# mi_list_varobj_children and mi_varobj_update_dynamic.
proc mi_child_regexp {children add_child} {
set children_exp {}
- set whatever "\"\[^\"\]+\""
if {$add_child} {
set pre "child="
set varname [lindex $varname 0]
}
- set whatever "\"\[^\"\]+\""
-
set children_exp_j [mi_child_regexp $children 1]
if {$numchildren} {
set expected "\\^done,numchild=\".*\",children=\\\[$children_exp_j.*\\\]"