Remove symbolp typedef
authorTom Tromey <tom@tromey.com>
Sat, 6 Jan 2018 00:26:21 +0000 (17:26 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jan 2018 18:28:44 +0000 (11:28 -0700)
This removes the symbolp typedef from dwarf2read.c.  It is no longer
used.

2018-01-17  Tom Tromey  <tom@tromey.com>

* dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.

gdb/ChangeLog
gdb/dwarf2read.c

index 871d038..d1510b9 100644 (file)
@@ -1,5 +1,9 @@
 2018-01-17  Tom Tromey  <tom@tromey.com>
 
+       * dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
+
+2018-01-17  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.
index 53c57ef..d9ebf4e 100644 (file)
@@ -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.  */