This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove symbolp typedef


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9e14690d06ac55136b7f051a2d2b8e173fa3bbdf

commit 9e14690d06ac55136b7f051a2d2b8e173fa3bbdf
Author: Tom Tromey <tom@tromey.com>
Date:   Fri Jan 5 17:26:21 2018 -0700

    Remove symbolp typedef
    
    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.

Diff:
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2read.c | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 871d038..d1510b9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 53c57ef..d9ebf4e 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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]