diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-01-28 15:15:30 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-01-30 12:46:54 -0500 |
commit | 21a793bf8d9f92cf0894cb3715f1a4c5cc540fbd (patch) | |
tree | d1243e7bd3b615a2de92c5c2108124f2912bb0ce /gdb/dwarf2 | |
parent | 707e7716f00a2c4dc0a2fc1fe86af94aeb35dd4f (diff) | |
download | fsf-binutils-gdb-21a793bf8d9f92cf0894cb3715f1a4c5cc540fbd.zip fsf-binutils-gdb-21a793bf8d9f92cf0894cb3715f1a4c5cc540fbd.tar.gz fsf-binutils-gdb-21a793bf8d9f92cf0894cb3715f1a4c5cc540fbd.tar.bz2 |
gdb: remove unused include, add forward declaration in dwarf2/parent-map.h
dwarf2_per_bfd is used but never declared in this file, forward-declare
it.
dwarf2/types.h is unused, according to clangd.
Change-Id: I324b68894008af20307030c9e36c5abe06e36a78
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/parent-map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/parent-map.h b/gdb/dwarf2/parent-map.h index 91a8b8c..130098f 100644 --- a/gdb/dwarf2/parent-map.h +++ b/gdb/dwarf2/parent-map.h @@ -21,10 +21,10 @@ #define GDB_DWARF2_PARENT_MAP_H #include "addrmap.h" -#include "dwarf2/types.h" #include "gdbsupport/gdb_obstack.h" class cooked_index_entry; +struct dwarf2_per_bfd; /* A class that handles mapping from a DIE range to a parent entry. |