This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] C++ify varobj a little bit
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: gdb-patches at sourceware dot org
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>
- Date: Sat, 18 Nov 2017 16:46:02 -0500
- Subject: [PATCH 0/4] C++ify varobj a little bit
- Authentication-results: sourceware.org; auth=none
This patch series does a basic C++ification of the varobj code, enough
to get rid of the VECs. It looks regression free according to the
buildbot.
Simon Marchi (4):
Basic c++ification of varobj
Make varobj::children an std::vector
Replace VEC (varobj_update_result) with std::vector
Remove DEF_VEC_P (varobj_p)
gdb/ada-varobj.c | 5 +-
gdb/mi/mi-cmd-var.c | 62 ++++-----
gdb/varobj.c | 362 ++++++++++++++++++----------------------------------
gdb/varobj.h | 67 +++++-----
4 files changed, 189 insertions(+), 307 deletions(-)
--
2.15.0