diff options
author | Yao Qi <yao@codesourcery.com> | 2013-09-10 08:58:23 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-06-12 15:27:09 +0800 |
commit | 5a2e0d6e89f69f0c3d013cf43f3bd3d97b5e628b (patch) | |
tree | d46ef80b8bebe70443c8fe61b1999fddb0033e4f /gas/ChangeLog-2004 | |
parent | c151b1c645a87136b61d9c16741b40f59694ed02 (diff) | |
download | gdb-5a2e0d6e89f69f0c3d013cf43f3bd3d97b5e628b.zip gdb-5a2e0d6e89f69f0c3d013cf43f3bd3d97b5e628b.tar.gz gdb-5a2e0d6e89f69f0c3d013cf43f3bd3d97b5e628b.tar.bz2 |
Use 'struct varobj_item' to represent name and value pair
Hi,
name and value pair is widely used in varobj.c. This patch is to add
a new struct varobj_item to represent them, so that the number of
function arguments can be reduced. Finally, the iteration is done on
'struct varobj_item' instead of PyObject after this patch series.
V2:
- Fix changelog entry.
- Fix one grammatical mistake.
gdb:
2014-06-12 Yao Qi <yao@codesourcery.com>
* varobj.c (struct varobj_item): New structure.
(create_child_with_value): Update declaration.
(varobj_add_child): Replace arguments 'name' and 'value' with
'item'. All callers updated.
(install_dynamic_child): Likewise.
(update_dynamic_varobj_children): Likewise.
(varobj_add_child): Likewise.
(create_child_with_value): Likewise.
Diffstat (limited to 'gas/ChangeLog-2004')
0 files changed, 0 insertions, 0 deletions