[PATCH/obv] Remove unused typedef/decl in dwarf2read.c
Keith Seitz
keiths@redhat.com
Fri Jul 23 14:45:00 GMT 2010
Hi,
This patch removes some unused (dead/leaked?) code from dwarf2read.c.
Keith
ChangeLog
2010-07-23 Keith Seitz <keiths@redhat.com>
* dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
and vector definition.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.423
diff -u -p -r1.423 dwarf2read.c
--- dwarf2read.c 22 Jul 2010 16:24:38 -0000 1.423
+++ dwarf2read.c 23 Jul 2010 14:42:55 -0000
@@ -156,9 +156,6 @@ struct mapped_index
const char *constant_pool;
};
-typedef struct dwarf2_per_cu_data *dwarf2_per_cu_data_ptr;
-DEF_VEC_P (dwarf2_per_cu_data_ptr);
-
struct dwarf2_per_objfile
{
struct dwarf2_section_info info;
More information about the Gdb-patches
mailing list