Use varobj_is_dynamic_p more widely
authorYao Qi <yao@codesourcery.com>
Sat, 23 Nov 2013 08:05:58 +0000 (16:05 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 12 Jun 2014 07:27:42 +0000 (15:27 +0800)
commit31f628ae8f5aada207d489fbcf5436bdc3b4b3f7
tree2b90c063e7a9ff14cfab43fe1d6d846aba16c4d7
parentcde5ef40f807cf37ac4fc5adcf621c615049eda9
Use varobj_is_dynamic_p more widely

Use varobj_is_dynamic_p more widely so that the callers of
varobj_is_dynamic_p are unchanged when we add available-children-only
stuff in varobj_is_dynamic_p.

gdb:

2014-06-12  Yao Qi  <yao@codesourcery.com>

* varobj.c (varobj_get_num_children): Call
varobj_is_dynamic_p.
(varobj_list_children): Likewise.
(varobj_update): Likewise.  Update comments.
gdb/ChangeLog
gdb/varobj.c