aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-11-22 15:08:07 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-11-22 15:08:07 -0500
commit7e2fd2f47b37185505f68e45c5cf016c7a16e1ce (patch)
treee19e78919eed45c33eb10d01065141941502744a
parent0604393c22f626f26b5a4a30e57da40404f5aa5e (diff)
downloadgdb-7e2fd2f47b37185505f68e45c5cf016c7a16e1ce.zip
gdb-7e2fd2f47b37185505f68e45c5cf016c7a16e1ce.tar.gz
gdb-7e2fd2f47b37185505f68e45c5cf016c7a16e1ce.tar.bz2
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/varobj.h3
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_,