aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/frame-tailcall.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-08-29 12:31:31 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-08-30 13:57:11 -0400
commite5afccc7e45964ed2f339c8f3ff7186a80a2bdb0 (patch)
tree21bdba780f9499c358e618b2293306aea5f042c1 /gdb/dwarf2/frame-tailcall.c
parent71e0850800c70e5a7b8c9fd7d4065d2f7853262e (diff)
downloadgdb-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/frame-tailcall.c')
-rw-r--r--gdb/dwarf2/frame-tailcall.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2/frame-tailcall.c b/gdb/dwarf2/frame-tailcall.c
index c489068..6ecf8a0 100644
--- a/gdb/dwarf2/frame-tailcall.c
+++ b/gdb/dwarf2/frame-tailcall.c
@@ -22,9 +22,7 @@
#include "dwarf2/frame-tailcall.h"
#include "dwarf2/loc.h"
#include "frame-unwind.h"
-#include "block.h"
#include "hashtab.h"
-#include "gdbtypes.h"
#include "regcache.h"
#include "value.h"
#include "dwarf2/frame.h"