This is the mail archive of the gdb-patches@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]

[pushed] Remove DEF_VEC_I(offset_type)


It is unused.

gdb/ChangeLog:

	* dwarf2read.c (DEF_VEC_I(offset_type)): Remove.
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2read.c | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7952dee..47e6cff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2018-03-26  Simon Marchi  <simon.marchi@ericsson.com>
 
+	* dwarf2read.c (DEF_VEC_I(offset_type)): Remove.
+
+2018-03-26  Simon Marchi  <simon.marchi@ericsson.com>
+
 	* filename-seen-cache.h: Add include guard.
 
 2018-03-26  Keith Seitz  <keiths@redhat.com>
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 93ecf40..211364c 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -162,8 +162,6 @@ DEF_VEC_O (dwarf2_section_info_def);
    architecture-independent.  */
 typedef uint32_t offset_type;
 
-DEF_VEC_I (offset_type);
-
 /* Ensure only legit values are used.  */
 #define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) \
   do { \
-- 
2.7.4


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