diff options
author | Yao Qi <yao@codesourcery.com> | 2013-11-23 15:58:04 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-06-12 15:27:31 +0800 |
commit | cde5ef40f807cf37ac4fc5adcf621c615049eda9 (patch) | |
tree | 67e316883c0d15012c04c1bf3d1c69c0917e8ce9 /gdb/varobj.h | |
parent | 576ea0910f0bdb3b4705d6faa24d30c86ccf7a09 (diff) | |
download | gdb-cde5ef40f807cf37ac4fc5adcf621c615049eda9.zip gdb-cde5ef40f807cf37ac4fc5adcf621c615049eda9.tar.gz gdb-cde5ef40f807cf37ac4fc5adcf621c615049eda9.tar.bz2 |
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.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index 991c2e8..74d41cf 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -306,7 +306,7 @@ extern void varobj_enable_pretty_printing (void); extern int varobj_has_more (struct varobj *var, int to); -extern int varobj_pretty_printed_p (struct varobj *var); +extern int varobj_is_dynamic_p (struct varobj *var); extern struct cleanup *varobj_ensure_python_env (struct varobj *var); |