aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-07-16 10:48:17 -0400
committerSimon Marchi <simon.marchi@efficios.com>2025-07-16 11:33:11 -0400
commit69b067872be8d283ef2420fd8a5e7ea4d53481c6 (patch)
tree033d3665897819315010e78de5022ed01f086837
parent50c1c57426db6e1c7b44b4d05f0b07fcba91f890 (diff)
downloadbinutils-69b067872be8d283ef2420fd8a5e7ea4d53481c6.zip
binutils-69b067872be8d283ef2420fd8a5e7ea4d53481c6.tar.gz
binutils-69b067872be8d283ef2420fd8a5e7ea4d53481c6.tar.bz2
gdb: remove unused includes in break-*.c
These are reported as unused by clangd. Change-Id: I80871e08b9d29c540f61d6ea91904197faf92065
-rw-r--r--gdb/break-catch-load.c1
-rw-r--r--gdb/break-catch-sig.c2
-rw-r--r--gdb/break-catch-syscall.c1
-rw-r--r--gdb/break-catch-throw.c4
-rw-r--r--gdb/break-cond-parse.c1
5 files changed, 0 insertions, 9 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index 594884e..b5594c2 100644
--- a/gdb/break-catch-load.c
+++ b/gdb/break-catch-load.c
@@ -22,7 +22,6 @@
#include "arch-utils.h"
#include "breakpoint.h"
#include "cli/cli-decode.h"
-#include "mi/mi-common.h"
#include "progspace.h"
#include "solib.h"
#include "target.h"
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index adfc48f..9e1c6d6 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -18,9 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "arch-utils.h"
-#include <ctype.h>
#include "breakpoint.h"
-#include "cli/cli-cmds.h"
#include "inferior.h"
#include "infrun.h"
#include "annotate.h"
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index 63bfec6..96f22a1 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -19,7 +19,6 @@
#include <ctype.h>
#include "breakpoint.h"
-#include "cli/cli-cmds.h"
#include "inferior.h"
#include "cli/cli-utils.h"
#include "annotate.h"
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c
index cb682a6..6da38eb 100644
--- a/gdb/break-catch-throw.c
+++ b/gdb/break-catch-throw.c
@@ -25,12 +25,8 @@
#include "annotate.h"
#include "valprint.h"
#include "cli/cli-utils.h"
-#include "completer.h"
-#include "gdbsupport/gdb_obstack.h"
#include "mi/mi-common.h"
-#include "linespec.h"
#include "probe.h"
-#include "objfiles.h"
#include "cp-abi.h"
#include "gdbsupport/gdb_regex.h"
#include "cp-support.h"
diff --git a/gdb/break-cond-parse.c b/gdb/break-cond-parse.c
index 04a8895..31b5343 100644
--- a/gdb/break-cond-parse.c
+++ b/gdb/break-cond-parse.c
@@ -23,7 +23,6 @@
#include "break-cond-parse.h"
#include "tid-parse.h"
#include "ada-lang.h"
-#include "exceptions.h"
/* When parsing tokens from a string, which direction are we parsing?