This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] Remove DEF_VEC_I(offset_type)
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Mon, 26 Mar 2018 15:47:15 -0400
- Subject: [pushed] Remove DEF_VEC_I(offset_type)
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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