Rename varobj_pretty_printed_p to varobj_is_dynamic_p
authorYao Qi <yao@codesourcery.com>
Sat, 23 Nov 2013 07:58:04 +0000 (15:58 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 12 Jun 2014 07:27:31 +0000 (15:27 +0800)
commitcde5ef40f807cf37ac4fc5adcf621c615049eda9
tree67e316883c0d15012c04c1bf3d1c69c0917e8ce9
parent576ea0910f0bdb3b4705d6faa24d30c86ccf7a09
Rename varobj_pretty_printed_p to varobj_is_dynamic_p

We think varobj with --available-children-only behaves like a dynamic
varobj, so dyanmic varobj is not pretty-printer specific.  We rename
varobj_pretty_printed_p to varobj_is_dynamic_p, so that we can handle
available-children-only checking in varobj_is_dynamic_p in the next
patch.

gdb:

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

* varobj.c (varobj_pretty_printed_p): Rename to ...
(varobj_is_dynamic_p): ... this.  New function.
* varobj.h (varobj_pretty_printed_p): Remove declaration.
(varobj_is_dynamic_p): Declare.
* mi/mi-cmd-var.c (print_varobj): All callers updated.
(mi_print_value_p, varobj_update_one): Likewise.
gdb/ChangeLog
gdb/mi/mi-cmd-var.c
gdb/varobj.c
gdb/varobj.h