This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove DEF_VEC_P (varobj_p)
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 22 Nov 2017 20:10:23 -0000
- Subject: [binutils-gdb] Remove DEF_VEC_P (varobj_p)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e2fd2f47b37185505f68e45c5cf016c7a16e1ce
commit 7e2fd2f47b37185505f68e45c5cf016c7a16e1ce
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Wed Nov 22 15:08:07 2017 -0500
Remove DEF_VEC_P (varobj_p)
The last patch removed the last usage of this type, so we can remove it.
gdb/ChangeLog:
* varobj.h (DEF_VEC_P (varobj_p)): Remove.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/varobj.h | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1abef2b..dc1bbfa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-11-22 Simon Marchi <simon.marchi@polymtl.ca>
+ * varobj.h (DEF_VEC_P (varobj_p)): Remove.
+
+2017-11-22 Simon Marchi <simon.marchi@polymtl.ca>
+
* varobj.h (struct varobj_update_result): Add constructor, add
move constructor, disable copy and assign, initialize fields.
<newobj>: Change type to std::vector.
diff --git a/gdb/varobj.h b/gdb/varobj.h
index f8738f5..d4e1dd8 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -57,9 +57,6 @@ extern const char *varobj_format_string[];
struct varobj;
-typedef struct varobj *varobj_p;
-DEF_VEC_P (varobj_p);
-
struct varobj_update_result
{
varobj_update_result (struct varobj *varobj_,