This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 6/6] Remove symbolp typedef
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Fri, 5 Jan 2018 17:26:21 -0700
- Subject: [RFA 6/6] Remove symbolp typedef
- Authentication-results: sourceware.org; auth=none
- References: <20180106002621.21099-1-tom@tromey.com>
This removes the symbolp typedef from dwarf2read.c. It is no longer
used.
2018-01-05 Tom Tromey <tom@tromey.com>
* dwarf2read.c (symbolp): Remove typedef. Don't instantiate VEC.
---
gdb/ChangeLog | 4 ++++
gdb/dwarf2read.c | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9b6023047..f8aa10d50a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-01-05 Tom Tromey <tom@tromey.com>
+ * dwarf2read.c (symbolp): Remove typedef. Don't instantiate VEC.
+
+2018-01-05 Tom Tromey <tom@tromey.com>
+
* gdbtypes.h (add_dyn_prop): Remove objfile parameter.
* gdbtypes.c (add_dyn_prop): Remove objfile parameter.
(create_array_type_with_stride): Update.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 3807251970..93e2419cc9 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -87,9 +87,6 @@
#include <set>
#include <forward_list>
-typedef struct symbol *symbolp;
-DEF_VEC_P (symbolp);
-
/* When == 1, print basic high level tracing messages.
When > 1, be more verbose.
This is in contrast to the low level DIE reading of dwarf_die_debug. */
--
2.13.6