diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-04-29 11:07:22 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-05-30 22:43:52 -0400 |
commit | 05d9d66d92886053d56d1c5fb9fcfcb20f6a6de0 (patch) | |
tree | 6b9abcf3bf3ec97d5f8760173523ede46c9e3b40 /gdb/dwarf2 | |
parent | 6f69575237fd63559fc284bb2b9ce4bf5d12bf16 (diff) | |
download | gdb-05d9d66d92886053d56d1c5fb9fcfcb20f6a6de0.zip gdb-05d9d66d92886053d56d1c5fb9fcfcb20f6a6de0.tar.gz gdb-05d9d66d92886053d56d1c5fb9fcfcb20f6a6de0.tar.bz2 |
gdb: remove unused includes in utils.h
Remove some includes reported as unused by clangd. Add some includes in
other files that were previously relying on the transitive include.
Change-Id: Ibdd0a998b04d21362a20d0ca8e5267e21e2e133e
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/cooked-index.c | 1 | ||||
-rw-r--r-- | gdb/dwarf2/frame-tailcall.c | 1 | ||||
-rw-r--r-- | gdb/dwarf2/index-write.c | 1 | ||||
-rw-r--r-- | gdb/dwarf2/loc.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/gdb/dwarf2/cooked-index.c b/gdb/dwarf2/cooked-index.c index 767f119..c9e46af 100644 --- a/gdb/dwarf2/cooked-index.c +++ b/gdb/dwarf2/cooked-index.c @@ -25,6 +25,7 @@ #include "c-lang.h" #include "ada-lang.h" #include "event-top.h" +#include "exceptions.h" #include "split-name.h" #include "observable.h" #include "run-on-main-thread.h" diff --git a/gdb/dwarf2/frame-tailcall.c b/gdb/dwarf2/frame-tailcall.c index bcbe41f..c489068 100644 --- a/gdb/dwarf2/frame-tailcall.c +++ b/gdb/dwarf2/frame-tailcall.c @@ -17,6 +17,7 @@ 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 "exceptions.h" #include "frame.h" #include "dwarf2/frame-tailcall.h" #include "dwarf2/loc.h" diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c index aeb688b..2a50e3b 100644 --- a/gdb/dwarf2/index-write.c +++ b/gdb/dwarf2/index-write.c @@ -22,6 +22,7 @@ #include "addrmap.h" #include "cli/cli-decode.h" +#include "exceptions.h" #include "gdbsupport/byte-vector.h" #include "gdbsupport/filestuff.h" #include "gdbsupport/gdb_unlinker.h" diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index 9db5fc1..5fea668 100644 --- a/gdb/dwarf2/loc.c +++ b/gdb/dwarf2/loc.c @@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "event-top.h" +#include "exceptions.h" #include "ui-out.h" #include "value.h" #include "frame.h" |