diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-08-29 12:31:31 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-08-30 13:57:11 -0400 |
commit | e5afccc7e45964ed2f339c8f3ff7186a80a2bdb0 (patch) | |
tree | 21bdba780f9499c358e618b2293306aea5f042c1 /gdb/dwarf2/abbrev.c | |
parent | 71e0850800c70e5a7b8c9fd7d4065d2f7853262e (diff) | |
download | gdb-e5afccc7e45964ed2f339c8f3ff7186a80a2bdb0.zip gdb-e5afccc7e45964ed2f339c8f3ff7186a80a2bdb0.tar.gz gdb-e5afccc7e45964ed2f339c8f3ff7186a80a2bdb0.tar.bz2 |
gdb/dwarf2: cleanup includes
Cleanup includes in dwarf2/*.
1. Add the necessary includes so that clangd reports no errors when
opening header files. This ensures that header files include what
they use.
2. Remove all includes reported as unused by clangd (except
gdb-safe-ctype.h, which I think does some magic that affects what
follows).
Built-tested --enable-threading at "yes" and "no", since there are some
portions of code gated by `#ifdef CXX_STD_THREAD`.
Change-Id: I21debffcd7c2caf90f08e1e0fbba3ce30422d042
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/dwarf2/abbrev.c')
-rw-r--r-- | gdb/dwarf2/abbrev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/abbrev.c b/gdb/dwarf2/abbrev.c index 359a009..bae8d8b 100644 --- a/gdb/dwarf2/abbrev.c +++ b/gdb/dwarf2/abbrev.c @@ -24,9 +24,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "dwarf2/read.h" #include "dwarf2/abbrev.h" #include "dwarf2/leb.h" +#include "dwarf2/section.h" #include "bfd.h" /* Hash function for an abbrev. */ |