Remove 'whatever' in lib/mi-support.exp
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.
This commit is contained in:
parent
8ab91b9600
commit
077e2c8848
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1397,7 +1397,6 @@ proc mi_check_varobj_value { name value testname } {
|
||||
# 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="
|
||||
@ -1463,8 +1462,6 @@ proc mi_list_varobj_children_range {varname from to numchildren children testnam
|
||||
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.*\\\]"
|
||||
|
Loading…
Reference in New Issue
Block a user