From c765fdb902fd6dbdeaa476b49592a4d9f835d983 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Wed, 8 Oct 2014 09:33:22 +0100 Subject: [PATCH] Remove spurious exceptions.h inclusions defs.h includes utils.h, and utils.h includes exceptions.h. All GDB .c files include defs.h as their first line, so no file other than utils.h needs to include exceptions.h. This commit removes all such inclusions. gdb/ChangeLog: * ada-lang.c: Do not include exceptions.h. * ada-valprint.c: Likewise. * amd64-tdep.c: Likewise. * auto-load.c: Likewise. * block.c: Likewise. * break-catch-throw.c: Likewise. * breakpoint.c: Likewise. * btrace.c: Likewise. * c-lang.c: Likewise. * cli/cli-cmds.c: Likewise. * cli/cli-interp.c: Likewise. * cli/cli-script.c: Likewise. * completer.c: Likewise. * corefile.c: Likewise. * corelow.c: Likewise. * cp-abi.c: Likewise. * cp-support.c: Likewise. * cp-valprint.c: Likewise. * darwin-nat.c: Likewise. * dwarf2-frame-tailcall.c: Likewise. * dwarf2-frame.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * eval.c: Likewise. * event-loop.c: Likewise. * event-top.c: Likewise. * f-valprint.c: Likewise. * frame-unwind.c: Likewise. * frame.c: Likewise. * gdbtypes.c: Likewise. * gnu-v2-abi.c: Likewise. * gnu-v3-abi.c: Likewise. * guile/scm-auto-load.c: Likewise. * guile/scm-breakpoint.c: Likewise. * guile/scm-cmd.c: Likewise. * guile/scm-frame.c: Likewise. * guile/scm-lazy-string.c: Likewise. * guile/scm-param.c: Likewise. * guile/scm-symbol.c: Likewise. * guile/scm-type.c: Likewise. * hppa-hpux-tdep.c: Likewise. * i386-tdep.c: Likewise. * inf-loop.c: Likewise. * infcall.c: Likewise. * infcmd.c: Likewise. * infrun.c: Likewise. * interps.c: Likewise. * interps.h: Likewise. * jit.c: Likewise. * linespec.c: Likewise. * linux-nat.c: Likewise. * linux-thread-db.c: Likewise. * m32r-rom.c: Likewise. * main.c: Likewise. * memory-map.c: Likewise. * mi/mi-cmd-break.c: Likewise. * mi/mi-cmd-stack.c: Likewise. * mi/mi-interp.c: Likewise. * mi/mi-main.c: Likewise. * monitor.c: Likewise. * nto-procfs.c: Likewise. * objc-lang.c: Likewise. * p-valprint.c: Likewise. * parse.c: Likewise. * ppc-linux-tdep.c: Likewise. * printcmd.c: Likewise. * probe.c: Likewise. * python/py-auto-load.c: Likewise. * python/py-breakpoint.c: Likewise. * python/py-cmd.c: Likewise. * python/py-finishbreakpoint.c: Likewise. * python/py-frame.c: Likewise. * python/py-framefilter.c: Likewise. * python/py-function.c: Likewise. * python/py-gdb-readline.c: Likewise. * python/py-inferior.c: Likewise. * python/py-infthread.c: Likewise. * python/py-lazy-string.c: Likewise. * python/py-linetable.c: Likewise. * python/py-param.c: Likewise. * python/py-prettyprint.c: Likewise. * python/py-symbol.c: Likewise. * python/py-type.c: Likewise. * python/py-value.c: Likewise. * python/python-internal.h: Likewise. * python/python.c: Likewise. * record-btrace.c: Likewise. * record-full.c: Likewise. * regcache.c: Likewise. * remote-fileio.c: Likewise. * remote-mips.c: Likewise. * remote.c: Likewise. * rs6000-aix-tdep.c: Likewise. * rs6000-nat.c: Likewise. * skip.c: Likewise. * solib-darwin.c: Likewise. * solib-dsbt.c: Likewise. * solib-frv.c: Likewise. * solib-ia64-hpux.c: Likewise. * solib-spu.c: Likewise. * solib-svr4.c: Likewise. * solib.c: Likewise. * spu-tdep.c: Likewise. * stack.c: Likewise. * stap-probe.c: Likewise. * symfile-mem.c: Likewise. * symmisc.c: Likewise. * target.c: Likewise. * thread.c: Likewise. * top.c: Likewise. * tracepoint.c: Likewise. * tui/tui-interp.c: Likewise. * typeprint.c: Likewise. * utils.c: Likewise. * valarith.c: Likewise. * valops.c: Likewise. * valprint.c: Likewise. * value.c: Likewise. * varobj.c: Likewise. * windows-nat.c: Likewise. * xml-support.c: Likewise. --- gdb/ChangeLog | 124 +++++++++++++++++++++++++++++++ gdb/ada-lang.c | 1 - gdb/ada-valprint.c | 1 - gdb/amd64-tdep.c | 1 - gdb/auto-load.c | 1 - gdb/block.c | 1 - gdb/break-catch-throw.c | 1 - gdb/breakpoint.c | 1 - gdb/btrace.c | 1 - gdb/c-lang.c | 1 - gdb/cli/cli-cmds.c | 1 - gdb/cli/cli-interp.c | 1 - gdb/cli/cli-script.c | 1 - gdb/completer.c | 1 - gdb/corefile.c | 1 - gdb/corelow.c | 1 - gdb/cp-abi.c | 1 - gdb/cp-support.c | 1 - gdb/cp-valprint.c | 1 - gdb/darwin-nat.c | 1 - gdb/dwarf2-frame-tailcall.c | 1 - gdb/dwarf2-frame.c | 1 - gdb/dwarf2loc.c | 1 - gdb/dwarf2read.c | 1 - gdb/eval.c | 1 - gdb/event-loop.c | 1 - gdb/event-top.c | 1 - gdb/f-valprint.c | 1 - gdb/frame-unwind.c | 1 - gdb/frame.c | 1 - gdb/gdbtypes.c | 1 - gdb/gnu-v2-abi.c | 2 - gdb/gnu-v3-abi.c | 1 - gdb/guile/scm-auto-load.c | 1 - gdb/guile/scm-breakpoint.c | 1 - gdb/guile/scm-cmd.c | 1 - gdb/guile/scm-frame.c | 1 - gdb/guile/scm-lazy-string.c | 1 - gdb/guile/scm-param.c | 1 - gdb/guile/scm-symbol.c | 1 - gdb/guile/scm-type.c | 1 - gdb/hppa-hpux-tdep.c | 1 - gdb/i386-tdep.c | 1 - gdb/inf-loop.c | 1 - gdb/infcall.c | 1 - gdb/infcmd.c | 1 - gdb/infrun.c | 1 - gdb/interps.c | 1 - gdb/interps.h | 2 - gdb/jit.c | 1 - gdb/linespec.c | 1 - gdb/linux-nat.c | 1 - gdb/linux-thread-db.c | 1 - gdb/m32r-rom.c | 1 - gdb/main.c | 2 - gdb/memory-map.c | 1 - gdb/mi/mi-cmd-break.c | 1 - gdb/mi/mi-cmd-stack.c | 1 - gdb/mi/mi-interp.c | 1 - gdb/mi/mi-main.c | 1 - gdb/monitor.c | 1 - gdb/nto-procfs.c | 2 - gdb/objc-lang.c | 1 - gdb/p-valprint.c | 1 - gdb/parse.c | 1 - gdb/ppc-linux-tdep.c | 1 - gdb/printcmd.c | 1 - gdb/probe.c | 1 - gdb/python/py-auto-load.c | 1 - gdb/python/py-breakpoint.c | 1 - gdb/python/py-cmd.c | 1 - gdb/python/py-finishbreakpoint.c | 1 - gdb/python/py-frame.c | 1 - gdb/python/py-framefilter.c | 1 - gdb/python/py-function.c | 1 - gdb/python/py-gdb-readline.c | 1 - gdb/python/py-inferior.c | 1 - gdb/python/py-infthread.c | 1 - gdb/python/py-lazy-string.c | 1 - gdb/python/py-linetable.c | 1 - gdb/python/py-param.c | 1 - gdb/python/py-prettyprint.c | 1 - gdb/python/py-symbol.c | 1 - gdb/python/py-type.c | 1 - gdb/python/py-value.c | 1 - gdb/python/python-internal.h | 2 - gdb/python/python.c | 1 - gdb/record-btrace.c | 1 - gdb/record-full.c | 1 - gdb/regcache.c | 1 - gdb/remote-fileio.c | 1 - gdb/remote-mips.c | 1 - gdb/remote.c | 1 - gdb/rs6000-aix-tdep.c | 1 - gdb/rs6000-nat.c | 1 - gdb/skip.c | 1 - gdb/solib-darwin.c | 1 - gdb/solib-dsbt.c | 1 - gdb/solib-frv.c | 1 - gdb/solib-ia64-hpux.c | 1 - gdb/solib-spu.c | 1 - gdb/solib-svr4.c | 1 - gdb/solib.c | 1 - gdb/spu-tdep.c | 1 - gdb/stack.c | 1 - gdb/stap-probe.c | 1 - gdb/symfile-mem.c | 1 - gdb/symmisc.c | 1 - gdb/target.c | 1 - gdb/thread.c | 1 - gdb/top.c | 1 - gdb/tracepoint.c | 1 - gdb/tui/tui-interp.c | 1 - gdb/typeprint.c | 1 - gdb/utils.c | 1 - gdb/valarith.c | 1 - gdb/valops.c | 1 - gdb/valprint.c | 1 - gdb/value.c | 1 - gdb/varobj.c | 1 - gdb/windows-nat.c | 1 - gdb/xml-support.c | 1 - 122 files changed, 124 insertions(+), 126 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 91313292713..61ee15f9ff9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,127 @@ +2014-10-08 Gary Benson + + * ada-lang.c: Do not include exceptions.h. + * ada-valprint.c: Likewise. + * amd64-tdep.c: Likewise. + * auto-load.c: Likewise. + * block.c: Likewise. + * break-catch-throw.c: Likewise. + * breakpoint.c: Likewise. + * btrace.c: Likewise. + * c-lang.c: Likewise. + * cli/cli-cmds.c: Likewise. + * cli/cli-interp.c: Likewise. + * cli/cli-script.c: Likewise. + * completer.c: Likewise. + * corefile.c: Likewise. + * corelow.c: Likewise. + * cp-abi.c: Likewise. + * cp-support.c: Likewise. + * cp-valprint.c: Likewise. + * darwin-nat.c: Likewise. + * dwarf2-frame-tailcall.c: Likewise. + * dwarf2-frame.c: Likewise. + * dwarf2loc.c: Likewise. + * dwarf2read.c: Likewise. + * eval.c: Likewise. + * event-loop.c: Likewise. + * event-top.c: Likewise. + * f-valprint.c: Likewise. + * frame-unwind.c: Likewise. + * frame.c: Likewise. + * gdbtypes.c: Likewise. + * gnu-v2-abi.c: Likewise. + * gnu-v3-abi.c: Likewise. + * guile/scm-auto-load.c: Likewise. + * guile/scm-breakpoint.c: Likewise. + * guile/scm-cmd.c: Likewise. + * guile/scm-frame.c: Likewise. + * guile/scm-lazy-string.c: Likewise. + * guile/scm-param.c: Likewise. + * guile/scm-symbol.c: Likewise. + * guile/scm-type.c: Likewise. + * hppa-hpux-tdep.c: Likewise. + * i386-tdep.c: Likewise. + * inf-loop.c: Likewise. + * infcall.c: Likewise. + * infcmd.c: Likewise. + * infrun.c: Likewise. + * interps.c: Likewise. + * interps.h: Likewise. + * jit.c: Likewise. + * linespec.c: Likewise. + * linux-nat.c: Likewise. + * linux-thread-db.c: Likewise. + * m32r-rom.c: Likewise. + * main.c: Likewise. + * memory-map.c: Likewise. + * mi/mi-cmd-break.c: Likewise. + * mi/mi-cmd-stack.c: Likewise. + * mi/mi-interp.c: Likewise. + * mi/mi-main.c: Likewise. + * monitor.c: Likewise. + * nto-procfs.c: Likewise. + * objc-lang.c: Likewise. + * p-valprint.c: Likewise. + * parse.c: Likewise. + * ppc-linux-tdep.c: Likewise. + * printcmd.c: Likewise. + * probe.c: Likewise. + * python/py-auto-load.c: Likewise. + * python/py-breakpoint.c: Likewise. + * python/py-cmd.c: Likewise. + * python/py-finishbreakpoint.c: Likewise. + * python/py-frame.c: Likewise. + * python/py-framefilter.c: Likewise. + * python/py-function.c: Likewise. + * python/py-gdb-readline.c: Likewise. + * python/py-inferior.c: Likewise. + * python/py-infthread.c: Likewise. + * python/py-lazy-string.c: Likewise. + * python/py-linetable.c: Likewise. + * python/py-param.c: Likewise. + * python/py-prettyprint.c: Likewise. + * python/py-symbol.c: Likewise. + * python/py-type.c: Likewise. + * python/py-value.c: Likewise. + * python/python-internal.h: Likewise. + * python/python.c: Likewise. + * record-btrace.c: Likewise. + * record-full.c: Likewise. + * regcache.c: Likewise. + * remote-fileio.c: Likewise. + * remote-mips.c: Likewise. + * remote.c: Likewise. + * rs6000-aix-tdep.c: Likewise. + * rs6000-nat.c: Likewise. + * skip.c: Likewise. + * solib-darwin.c: Likewise. + * solib-dsbt.c: Likewise. + * solib-frv.c: Likewise. + * solib-ia64-hpux.c: Likewise. + * solib-spu.c: Likewise. + * solib-svr4.c: Likewise. + * solib.c: Likewise. + * spu-tdep.c: Likewise. + * stack.c: Likewise. + * stap-probe.c: Likewise. + * symfile-mem.c: Likewise. + * symmisc.c: Likewise. + * target.c: Likewise. + * thread.c: Likewise. + * top.c: Likewise. + * tracepoint.c: Likewise. + * tui/tui-interp.c: Likewise. + * typeprint.c: Likewise. + * utils.c: Likewise. + * valarith.c: Likewise. + * valops.c: Likewise. + * valprint.c: Likewise. + * value.c: Likewise. + * varobj.c: Likewise. + * windows-nat.c: Likewise. + * xml-support.c: Likewise. + 2014-10-05 Maciej W. Rozycki * mips-tdep.c (add_offset_16): Rewrite to implement what the diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index c7e50e285dd..36a2f24aa01 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -45,7 +45,6 @@ #include "block.h" #include "infcall.h" #include "dictionary.h" -#include "exceptions.h" #include "annotate.h" #include "valprint.h" #include "source.h" diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index ade0a65f67c..6f68faebd38 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -30,7 +30,6 @@ #include "ada-lang.h" #include "c-lang.h" #include "infcall.h" -#include "exceptions.h" #include "objfiles.h" static int print_field_values (struct type *, const gdb_byte *, diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 7c8575a07b2..ed41f88556d 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -37,7 +37,6 @@ #include "regset.h" #include "symfile.h" #include "disasm.h" -#include "exceptions.h" #include "amd64-tdep.h" #include "i387-tdep.h" diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 1112ef242f3..0f5973928a2 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -26,7 +26,6 @@ #include "command.h" #include "observer.h" #include "objfiles.h" -#include "exceptions.h" #include "cli/cli-script.h" #include "gdbcmd.h" #include "cli/cli-cmds.h" diff --git a/gdb/block.c b/gdb/block.c index a4b9ef550ba..4a31ea9a4b7 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -25,7 +25,6 @@ #include "cp-support.h" #include "addrmap.h" #include "gdbtypes.h" -#include "exceptions.h" /* This is used by struct block to store namespace-related info for C++ files, namely using declarations and the current namespace in diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index 9831d96f415..df40771dde2 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -29,7 +29,6 @@ #include "completer.h" #include "gdb_obstack.h" #include "mi/mi-common.h" -#include "exceptions.h" #include "linespec.h" #include "probe.h" #include "objfiles.h" diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e2170b4e803..3044916a556 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -51,7 +51,6 @@ #include "solib.h" #include "solist.h" #include "observer.h" -#include "exceptions.h" #include "memattr.h" #include "ada-lang.h" #include "top.h" diff --git a/gdb/btrace.c b/gdb/btrace.c index b5c3c260b72..b8b5139b525 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -22,7 +22,6 @@ #include "defs.h" #include "btrace.h" #include "gdbthread.h" -#include "exceptions.h" #include "inferior.h" #include "target.h" #include "record.h" diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 185b38ed0c9..1353eea9224 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -33,7 +33,6 @@ #include "cp-support.h" #include "gdb_obstack.h" #include -#include "exceptions.h" #include "gdbcore.h" extern void _initialize_c_language (void); diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index b0f1bdfa4d0..a9f90b21757 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include "defs.h" -#include "exceptions.h" #include "arch-utils.h" #include "dyn-string.h" #include "readline/readline.h" diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 9b2aaaa669d..94c023a02cf 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -23,7 +23,6 @@ #include "ui-out.h" #include "cli-out.h" #include "top.h" /* for "execute_command" */ -#include "exceptions.h" #include "infrun.h" #include "observer.h" diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 37cb82a45b2..f8ff58dc263 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -23,7 +23,6 @@ #include #include "ui-out.h" -#include "exceptions.h" #include "top.h" #include "breakpoint.h" #include "cli/cli-cmds.h" diff --git a/gdb/completer.c b/gdb/completer.c index 67d7f458bc6..a0f3fa32aca 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -22,7 +22,6 @@ #include "expression.h" #include "filenames.h" /* For DOSish file names. */ #include "language.h" -#include "exceptions.h" #include "gdb_signals.h" #include "cli/cli-decode.h" diff --git a/gdb/corefile.c b/gdb/corefile.c index a0bb2aab307..d86463f9d27 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -30,7 +30,6 @@ #include "dis-asm.h" #include #include "completer.h" -#include "exceptions.h" #include "observer.h" #include "cli/cli-utils.h" diff --git a/gdb/corelow.c b/gdb/corelow.c index 30d3367157a..dc22f2ba038 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -38,7 +38,6 @@ #include "symfile.h" #include "exec.h" #include "readline/readline.h" -#include "exceptions.h" #include "solib.h" #include "filenames.h" #include "progspace.h" diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index eede3e52b49..7055acb3d4c 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -21,7 +21,6 @@ #include "value.h" #include "cp-abi.h" #include "command.h" -#include "exceptions.h" #include "gdbcmd.h" #include "ui-out.h" static struct cp_abi_ops *find_cp_abi (const char *short_name); diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 14aaac8ad0d..b475491ad64 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -29,7 +29,6 @@ #include "block.h" #include "complaints.h" #include "gdbtypes.h" -#include "exceptions.h" #include "expression.h" #include "value.h" #include "cp-abi.h" diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 62de7774ad7..42010c261d9 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -34,7 +34,6 @@ #include "cp-support.h" #include "language.h" #include "extension.h" -#include "exceptions.h" #include "typeprint.h" /* Controls printing of vtbl's. */ diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index af4ec01e63f..511f37046d9 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -33,7 +33,6 @@ #include "event-top.h" #include "inf-loop.h" #include -#include "exceptions.h" #include "inf-child.h" #include "value.h" #include "arch-utils.h" diff --git a/gdb/dwarf2-frame-tailcall.c b/gdb/dwarf2-frame-tailcall.c index bce4c60a667..7580c02c634 100644 --- a/gdb/dwarf2-frame-tailcall.c +++ b/gdb/dwarf2-frame-tailcall.c @@ -24,7 +24,6 @@ #include "frame-unwind.h" #include "block.h" #include "hashtab.h" -#include "exceptions.h" #include "gdbtypes.h" #include "regcache.h" #include "value.h" diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index f2330d91e38..80e59038ad0 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -37,7 +37,6 @@ #include "dwarf2-frame.h" #include "ax.h" #include "dwarf2loc.h" -#include "exceptions.h" #include "dwarf2-frame-tailcall.h" struct comp_unit; diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index e347e59ad62..71adc896e99 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -30,7 +30,6 @@ #include "ax-gdb.h" #include "regcache.h" #include "objfiles.h" -#include "exceptions.h" #include "block.h" #include "gdbcmd.h" diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9d0ee13d465..eccd11aad4e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -55,7 +55,6 @@ #include "typeprint.h" #include "jv-lang.h" #include "psympriv.h" -#include "exceptions.h" #include #include "completer.h" #include "vec.h" diff --git a/gdb/eval.c b/gdb/eval.c index c3792090fce..5906744bd97 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -33,7 +33,6 @@ #include "parser-defs.h" #include "cp-support.h" #include "ui-out.h" -#include "exceptions.h" #include "regcache.h" #include "user-regs.h" #include "valprint.h" diff --git a/gdb/event-loop.c b/gdb/event-loop.c index e40187e5373..023310ccef5 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -32,7 +32,6 @@ #include #include -#include "exceptions.h" #include "gdb_select.h" #include "observer.h" diff --git a/gdb/event-top.c b/gdb/event-top.c index 833f49db08b..3f9deec2c23 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -29,7 +29,6 @@ #include "event-top.h" #include "interps.h" #include -#include "exceptions.h" #include "cli/cli-script.h" /* for reset_command_nest_depth */ #include "main.h" #include "gdbthread.h" diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 9a43cf371bc..6c254554997 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -33,7 +33,6 @@ #include "command.h" #include "block.h" #include "dictionary.h" -#include "exceptions.h" extern void _initialize_f_valprint (void); static void info_common_command (char *, int); diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c index 1068b02ff1e..9fdeceff9dd 100644 --- a/gdb/frame-unwind.c +++ b/gdb/frame-unwind.c @@ -24,7 +24,6 @@ #include "inline-frame.h" #include "value.h" #include "regcache.h" -#include "exceptions.h" #include "gdb_obstack.h" #include "target.h" diff --git a/gdb/frame.c b/gdb/frame.c index 1f63819a6d4..5c4217c6d05 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -36,7 +36,6 @@ #include "gdbcmd.h" #include "observer.h" #include "objfiles.h" -#include "exceptions.h" #include "gdbthread.h" #include "block.h" #include "inline-frame.h" diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 1326f85c6ac..ee33d77365a 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -34,7 +34,6 @@ #include "gdbcmd.h" #include "cp-abi.h" #include "hashtab.h" -#include "exceptions.h" #include "cp-support.h" #include "bcache.h" #include "dwarf2loc.h" diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index 5e55b6730cf..2929b896e18 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -27,8 +27,6 @@ #include "gdb-demangle.h" #include "cp-abi.h" #include "cp-support.h" -#include "exceptions.h" - #include struct cp_abi_ops gnu_v2_abi_ops; diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index d5ed3551fb2..d02c8bc1c7c 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -26,7 +26,6 @@ #include "objfiles.h" #include "valprint.h" #include "c-lang.h" -#include "exceptions.h" #include "typeprint.h" static struct cp_abi_ops gnu_v3_abi_ops; diff --git a/gdb/guile/scm-auto-load.c b/gdb/guile/scm-auto-load.c index b67d8ff5148..562f58348a0 100644 --- a/gdb/guile/scm-auto-load.c +++ b/gdb/guile/scm-auto-load.c @@ -19,7 +19,6 @@ #include "defs.h" #include "top.h" -#include "exceptions.h" #include "gdbcmd.h" #include "objfiles.h" #include "cli/cli-cmds.h" diff --git a/gdb/guile/scm-breakpoint.c b/gdb/guile/scm-breakpoint.c index f4c0f0bc60c..aed9f9a19b1 100644 --- a/gdb/guile/scm-breakpoint.c +++ b/gdb/guile/scm-breakpoint.c @@ -22,7 +22,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "breakpoint.h" #include "gdbcmd.h" #include "gdbthread.h" diff --git a/gdb/guile/scm-cmd.c b/gdb/guile/scm-cmd.c index 2c4b2f841bb..c07800e0825 100644 --- a/gdb/guile/scm-cmd.c +++ b/gdb/guile/scm-cmd.c @@ -22,7 +22,6 @@ #include "defs.h" #include -#include "exceptions.h" #include "charset.h" #include "gdbcmd.h" #include "cli/cli-decode.h" diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c index 32abf6d389e..c335385e830 100644 --- a/gdb/guile/scm-frame.c +++ b/gdb/guile/scm-frame.c @@ -23,7 +23,6 @@ #include "defs.h" #include "block.h" #include "frame.h" -#include "exceptions.h" #include "inferior.h" #include "objfiles.h" #include "symfile.h" diff --git a/gdb/guile/scm-lazy-string.c b/gdb/guile/scm-lazy-string.c index 88d3004040b..d833d710331 100644 --- a/gdb/guile/scm-lazy-string.c +++ b/gdb/guile/scm-lazy-string.c @@ -23,7 +23,6 @@ #include "defs.h" #include "charset.h" #include "value.h" -#include "exceptions.h" #include "valprint.h" #include "language.h" #include "guile-internal.h" diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c index f0f83cd434b..23bc86921ce 100644 --- a/gdb/guile/scm-param.c +++ b/gdb/guile/scm-param.c @@ -19,7 +19,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "charset.h" #include "gdbcmd.h" #include "cli/cli-decode.h" diff --git a/gdb/guile/scm-symbol.c b/gdb/guile/scm-symbol.c index cdc92ef419c..cb7abf34c35 100644 --- a/gdb/guile/scm-symbol.c +++ b/gdb/guile/scm-symbol.c @@ -22,7 +22,6 @@ #include "defs.h" #include "block.h" -#include "exceptions.h" #include "frame.h" #include "symtab.h" #include "objfiles.h" diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index 109e03058f9..78b5863bd46 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -23,7 +23,6 @@ #include "defs.h" #include "arch-utils.h" #include "value.h" -#include "exceptions.h" #include "gdbtypes.h" #include "objfiles.h" #include "language.h" diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index ee59811ef64..6ec2af9b648 100644 --- a/gdb/hppa-hpux-tdep.c +++ b/gdb/hppa-hpux-tdep.c @@ -34,7 +34,6 @@ #include "solib-pa64.h" #include "regset.h" #include "regcache.h" -#include "exceptions.h" #define IS_32BIT_TARGET(_gdbarch) \ ((gdbarch_tdep (_gdbarch))->bytes_per_address == 4) diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index f685a6af3fd..8387c72d25e 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -44,7 +44,6 @@ #include "dis-asm.h" #include "disasm.h" #include "remote.h" -#include "exceptions.h" #include "i386-tdep.h" #include "i387-tdep.h" #include "x86-xstate.h" diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index d4f9a356f19..244520926c9 100644 --- a/gdb/inf-loop.c +++ b/gdb/inf-loop.c @@ -25,7 +25,6 @@ #include "event-top.h" #include "inf-loop.h" #include "remote.h" -#include "exceptions.h" #include "language.h" #include "gdbthread.h" #include "continuations.h" diff --git a/gdb/infcall.c b/gdb/infcall.c index e60d1d476be..bbac693f32a 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -34,7 +34,6 @@ #include "dummy-frame.h" #include "ada-lang.h" #include "gdbthread.h" -#include "exceptions.h" #include "event-top.h" /* If we can't find a function's name from its address, diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 178bd732890..03745332f88 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -45,7 +45,6 @@ #include "observer.h" #include "target-descriptions.h" #include "user-regs.h" -#include "exceptions.h" #include "cli/cli-decode.h" #include "gdbthread.h" #include "valprint.h" diff --git a/gdb/infrun.c b/gdb/infrun.c index 8137eb38d34..7b437858ec8 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -24,7 +24,6 @@ #include "symtab.h" #include "frame.h" #include "inferior.h" -#include "exceptions.h" #include "breakpoint.h" #include "gdb_wait.h" #include "gdbcore.h" diff --git a/gdb/interps.c b/gdb/interps.c index 48c421f9d75..25ccadc7cf0 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -37,7 +37,6 @@ #include "interps.h" #include "completer.h" #include "top.h" /* For command_loop. */ -#include "exceptions.h" #include "continuations.h" /* True if the current interpreter in is async mode. See interps.h diff --git a/gdb/interps.h b/gdb/interps.h index 197fa55be03..dcf59159e33 100644 --- a/gdb/interps.h +++ b/gdb/interps.h @@ -22,8 +22,6 @@ #ifndef INTERPS_H #define INTERPS_H -#include "exceptions.h" - struct ui_out; struct interp; diff --git a/gdb/jit.c b/gdb/jit.c index bc31c7a815f..c12a72f3da5 100644 --- a/gdb/jit.c +++ b/gdb/jit.c @@ -38,7 +38,6 @@ #include "target.h" #include "gdb-dlfcn.h" #include -#include "exceptions.h" #include "gdb_bfd.h" static const char *jit_reader_dir = NULL; diff --git a/gdb/linespec.c b/gdb/linespec.c index 8a2c8e35ed1..53257021f3c 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -33,7 +33,6 @@ #include "block.h" #include "objc-lang.h" #include "linespec.h" -#include "exceptions.h" #include "language.h" #include "interps.h" #include "mi/mi-cmds.h" diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 60f6a848971..396c30c7070 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -61,7 +61,6 @@ #include "symfile.h" #include "agent.h" #include "tracepoint.h" -#include "exceptions.h" #include "buffer.h" #include "target-descriptions.h" #include "filestuff.h" diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 8adcb407741..ff5f2cc7629 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -24,7 +24,6 @@ #include "gdb_vecs.h" #include "bfd.h" #include "command.h" -#include "exceptions.h" #include "gdbcmd.h" #include "gdbthread.h" #include "inferior.h" diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c index e373f87446f..683a11e501b 100644 --- a/gdb/m32r-rom.c +++ b/gdb/m32r-rom.c @@ -25,7 +25,6 @@ #include "defs.h" #include "gdbcore.h" #include "target.h" -#include "exceptions.h" #include "monitor.h" #include "serial.h" #include "symtab.h" diff --git a/gdb/main.c b/gdb/main.c index 756dd4fadb3..accd9278172 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -23,8 +23,6 @@ #include "inferior.h" #include "symfile.h" #include "gdbcore.h" - -#include "exceptions.h" #include "getopt.h" #include diff --git a/gdb/memory-map.c b/gdb/memory-map.c index b897d8a0611..041281af6a4 100644 --- a/gdb/memory-map.c +++ b/gdb/memory-map.c @@ -19,7 +19,6 @@ #include "defs.h" #include "memory-map.h" -#include "exceptions.h" #if !defined(HAVE_LIBEXPAT) diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c index ce6a093a9e2..332d9e287ba 100644 --- a/gdb/mi/mi-cmd-break.c +++ b/gdb/mi/mi-cmd-break.c @@ -25,7 +25,6 @@ #include "breakpoint.h" #include "mi-getopt.h" #include "gdb.h" -#include "exceptions.h" #include "observer.h" #include "mi-main.h" #include "mi-cmd-break.h" diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 608dc4e183b..3ddc62c20bf 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -29,7 +29,6 @@ #include "dictionary.h" #include "language.h" #include "valprint.h" -#include "exceptions.h" #include "utils.h" #include "mi-getopt.h" #include "extension.h" diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 38278300829..df2b558291f 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -25,7 +25,6 @@ #include "infrun.h" #include "ui-out.h" #include "top.h" -#include "exceptions.h" #include "mi-main.h" #include "mi-cmds.h" #include "mi-out.h" diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 4d35ff098e6..6d401957b37 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -24,7 +24,6 @@ #include "target.h" #include "inferior.h" #include "infrun.h" -#include "exceptions.h" #include "top.h" #include "gdbthread.h" #include "mi-cmds.h" diff --git a/gdb/monitor.c b/gdb/monitor.c index f7e331b73cc..d9e7b0a4787 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -40,7 +40,6 @@ #include "defs.h" #include "gdbcore.h" #include "target.h" -#include "exceptions.h" #include #include #include diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 7a96cc9d9ea..8a10d3d6437 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -30,8 +30,6 @@ #include #include #include - -#include "exceptions.h" #include "gdbcore.h" #include "inferior.h" #include "target.h" diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index d911d8f55be..8a3d21ed801 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -29,7 +29,6 @@ #include "varobj.h" #include "c-lang.h" #include "objc-lang.h" -#include "exceptions.h" #include "complaints.h" #include "value.h" #include "symfile.h" diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index c796218be77..63f6222be43 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -37,7 +37,6 @@ #include "p-lang.h" #include "cp-abi.h" #include "cp-support.h" -#include "exceptions.h" #include "objfiles.h" diff --git a/gdb/parse.c b/gdb/parse.c index 420afc5bfaa..27947e79ffb 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -48,7 +48,6 @@ #include "block.h" #include "source.h" #include "objfiles.h" -#include "exceptions.h" #include "user-regs.h" /* Standard set of definitions for printing, dumping, prefixifying, diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index d232f7f3790..a9978699f25 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -45,7 +45,6 @@ #include "auxv.h" #include "elf/common.h" #include "elf/ppc64.h" -#include "exceptions.h" #include "arch-utils.h" #include "spu-tdep.h" #include "xml-syscall.h" diff --git a/gdb/printcmd.c b/gdb/printcmd.c index a65423dfe82..df44ff474a8 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -39,7 +39,6 @@ #include "block.h" #include "disasm.h" #include "dfp.h" -#include "exceptions.h" #include "observer.h" #include "solist.h" #include "parser-defs.h" diff --git a/gdb/probe.c b/gdb/probe.c index 859e6e7191d..3b8882e66ee 100644 --- a/gdb/probe.c +++ b/gdb/probe.c @@ -26,7 +26,6 @@ #include "symtab.h" #include "progspace.h" #include "filenames.h" -#include "exceptions.h" #include "linespec.h" #include "gdb_regex.h" #include "frame.h" diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index 24311ff873f..9b4441618eb 100644 --- a/gdb/python/py-auto-load.c +++ b/gdb/python/py-auto-load.c @@ -19,7 +19,6 @@ #include "defs.h" #include "top.h" -#include "exceptions.h" #include "gdbcmd.h" #include "objfiles.h" #include "python.h" diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 125c6fdf73d..06e708d4f36 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -19,7 +19,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "python-internal.h" #include "python.h" #include "charset.h" diff --git a/gdb/python/py-cmd.c b/gdb/python/py-cmd.c index 45af66b908c..5fc656ef0a7 100644 --- a/gdb/python/py-cmd.c +++ b/gdb/python/py-cmd.c @@ -21,7 +21,6 @@ #include "defs.h" #include "arch-utils.h" #include "value.h" -#include "exceptions.h" #include "python-internal.h" #include "charset.h" #include "gdbcmd.h" diff --git a/gdb/python/py-finishbreakpoint.c b/gdb/python/py-finishbreakpoint.c index 712a9ee5a98..4c66e84be52 100644 --- a/gdb/python/py-finishbreakpoint.c +++ b/gdb/python/py-finishbreakpoint.c @@ -20,7 +20,6 @@ #include "defs.h" -#include "exceptions.h" #include "python-internal.h" #include "breakpoint.h" #include "frame.h" diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 859d1158964..bec84ed5a00 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -21,7 +21,6 @@ #include "charset.h" #include "block.h" #include "frame.h" -#include "exceptions.h" #include "symtab.h" #include "stack.h" #include "value.h" diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index d53282f561e..de48af5af85 100644 --- a/gdb/python/py-framefilter.c +++ b/gdb/python/py-framefilter.c @@ -21,7 +21,6 @@ #include "objfiles.h" #include "symtab.h" #include "language.h" -#include "exceptions.h" #include "arch-utils.h" #include "python.h" #include "ui-out.h" diff --git a/gdb/python/py-function.c b/gdb/python/py-function.c index 73d517dbd3d..38fe3d7338f 100644 --- a/gdb/python/py-function.c +++ b/gdb/python/py-function.c @@ -20,7 +20,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "python-internal.h" #include "charset.h" #include "gdbcmd.h" diff --git a/gdb/python/py-gdb-readline.c b/gdb/python/py-gdb-readline.c index b335df918ec..d98a19651c9 100644 --- a/gdb/python/py-gdb-readline.c +++ b/gdb/python/py-gdb-readline.c @@ -19,7 +19,6 @@ #include "defs.h" #include "python-internal.h" -#include "exceptions.h" #include "top.h" #include "cli/cli-utils.h" /* Readline function suitable for PyOS_ReadlineFunctionPointer, which diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 9b8b8f5a734..181059abcc0 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include "defs.h" -#include "exceptions.h" #include "gdbcore.h" #include "gdbthread.h" #include "inferior.h" diff --git a/gdb/python/py-infthread.c b/gdb/python/py-infthread.c index e03cbd923f7..1399322ea12 100644 --- a/gdb/python/py-infthread.c +++ b/gdb/python/py-infthread.c @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include "defs.h" -#include "exceptions.h" #include "gdbthread.h" #include "inferior.h" #include "python-internal.h" diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c index 0cec3870ff8..d1de5f4645a 100644 --- a/gdb/python/py-lazy-string.c +++ b/gdb/python/py-lazy-string.c @@ -21,7 +21,6 @@ #include "python-internal.h" #include "charset.h" #include "value.h" -#include "exceptions.h" #include "valprint.h" #include "language.h" diff --git a/gdb/python/py-linetable.c b/gdb/python/py-linetable.c index 8b5362b2108..bb82c8ce780 100644 --- a/gdb/python/py-linetable.c +++ b/gdb/python/py-linetable.c @@ -19,7 +19,6 @@ #include "defs.h" #include "python-internal.h" -#include "exceptions.h" typedef struct { PyObject_HEAD diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c index 53d0083054a..fca1e44b46a 100644 --- a/gdb/python/py-param.c +++ b/gdb/python/py-param.c @@ -20,7 +20,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "python-internal.h" #include "charset.h" #include "gdbcmd.h" diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c index a7cd337d00b..35579fb3eb3 100644 --- a/gdb/python/py-prettyprint.c +++ b/gdb/python/py-prettyprint.c @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include "defs.h" -#include "exceptions.h" #include "objfiles.h" #include "symtab.h" #include "language.h" diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 6900d5815de..5d71c503e57 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -19,7 +19,6 @@ #include "defs.h" #include "block.h" -#include "exceptions.h" #include "frame.h" #include "symtab.h" #include "python-internal.h" diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 26d01185c39..29a3500fdf2 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -19,7 +19,6 @@ #include "defs.h" #include "value.h" -#include "exceptions.h" #include "python-internal.h" #include "charset.h" #include "gdbtypes.h" diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index bdec38925a5..4313170e606 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -20,7 +20,6 @@ #include "defs.h" #include "charset.h" #include "value.h" -#include "exceptions.h" #include "language.h" #include "dfp.h" #include "valprint.h" diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 6e7e60000a0..c262a46231e 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -219,8 +219,6 @@ gdb_PyObject_HasAttrString (PyObject *obj, #include "command.h" #include "breakpoint.h" -#include "exceptions.h" - enum gdbpy_iter_kind { iter_keys, iter_values, iter_items }; struct block; diff --git a/gdb/python/python.c b/gdb/python/python.c index 40c4ec97943..af90bef0c0b 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -27,7 +27,6 @@ #include "objfiles.h" #include "value.h" #include "language.h" -#include "exceptions.h" #include "event-loop.h" #include "serial.h" #include "readline/tilde.h" diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 430c7957d7b..c611c7b75fc 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -26,7 +26,6 @@ #include "gdbcmd.h" #include "disasm.h" #include "observer.h" -#include "exceptions.h" #include "cli/cli-utils.h" #include "source.h" #include "ui-out.h" diff --git a/gdb/record-full.c b/gdb/record-full.c index 119361f9eb8..abe505fee15 100644 --- a/gdb/record-full.c +++ b/gdb/record-full.c @@ -22,7 +22,6 @@ #include "regcache.h" #include "gdbthread.h" #include "event-top.h" -#include "exceptions.h" #include "completer.h" #include "arch-utils.h" #include "gdbcore.h" diff --git a/gdb/regcache.c b/gdb/regcache.c index 9b6c7941449..e6b6f890f50 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -25,7 +25,6 @@ #include "regcache.h" #include "reggroups.h" #include "observer.h" -#include "exceptions.h" #include "remote.h" #include "valprint.h" #include "regset.h" diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 48e1e567249..451c3b1273d 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -25,7 +25,6 @@ #include "gdb/fileio.h" #include "gdb_wait.h" #include -#include "exceptions.h" #include "remote-fileio.h" #include "event-loop.h" #include "target.h" diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 9e4039d9193..1ce6c172f8d 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -29,7 +29,6 @@ #include "gdbcore.h" #include "serial.h" #include "target.h" -#include "exceptions.h" #include #include "gdb_usleep.h" #include "regcache.h" diff --git a/gdb/remote.c b/gdb/remote.c index 3d55e41d9fc..1c8741d1b71 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -26,7 +26,6 @@ #include "infrun.h" #include "bfd.h" #include "symfile.h" -#include "exceptions.h" #include "target.h" /*#include "terminal.h" */ #include "gdbcmd.h" diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c index 0cea0b28af8..372f1ead153 100644 --- a/gdb/rs6000-aix-tdep.c +++ b/gdb/rs6000-aix-tdep.c @@ -33,7 +33,6 @@ #include "rs6000-tdep.h" #include "ppc-tdep.h" #include "rs6000-aix-tdep.h" -#include "exceptions.h" #include "xcoffread.h" #include "solib.h" #include "solib-aix.h" diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 68fb5c9cb02..e8b7bf0cd0e 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -25,7 +25,6 @@ #include "objfiles.h" #include "libbfd.h" /* For bfd_default_set_arch_mach (FIXME) */ #include "bfd.h" -#include "exceptions.h" #include "gdb-stabs.h" #include "regcache.h" #include "arch-utils.h" diff --git a/gdb/skip.c b/gdb/skip.c index 23f1e46ca40..79d07bd6844 100644 --- a/gdb/skip.c +++ b/gdb/skip.c @@ -29,7 +29,6 @@ #include "arch-utils.h" #include "linespec.h" #include "objfiles.h" -#include "exceptions.h" #include "breakpoint.h" /* for get_sal_arch () */ #include "source.h" #include "filenames.h" diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c index 8782c813e4f..4a25056861c 100644 --- a/gdb/solib-darwin.c +++ b/gdb/solib-darwin.c @@ -38,7 +38,6 @@ #include "elf-bfd.h" #include "exec.h" #include "auxv.h" -#include "exceptions.h" #include "mach-o.h" #include "mach-o/external.h" diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c index 4655c92526d..8da6ea4426b 100644 --- a/gdb/solib-dsbt.c +++ b/gdb/solib-dsbt.c @@ -28,7 +28,6 @@ #include "command.h" #include "gdbcmd.h" #include "elf-bfd.h" -#include "exceptions.h" #include "gdb_bfd.h" #define GOT_MODULE_OFFSET 4 diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 8e66a878c3d..fbd6970b864 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -29,7 +29,6 @@ #include "command.h" #include "gdbcmd.h" #include "elf/frv.h" -#include "exceptions.h" #include "gdb_bfd.h" /* Flag which indicates whether internal debug messages should be printed. */ diff --git a/gdb/solib-ia64-hpux.c b/gdb/solib-ia64-hpux.c index b53caa8e5d9..a718f147566 100644 --- a/gdb/solib-ia64-hpux.c +++ b/gdb/solib-ia64-hpux.c @@ -30,7 +30,6 @@ #include "symfile.h" #include "objfiles.h" #include "elf-bfd.h" -#include "exceptions.h" /* Need to define the following macro in order to get the complete load_module_desc struct definition in dlfcn.h Otherwise, it doesn't diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index 41e41b08c14..b497143561f 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -33,7 +33,6 @@ #include "observer.h" #include "breakpoint.h" #include "gdbthread.h" -#include "exceptions.h" #include "gdb_bfd.h" #include "spu-tdep.h" diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 978564c1bc1..5c87019c7c2 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -43,7 +43,6 @@ #include "elf-bfd.h" #include "exec.h" #include "auxv.h" -#include "exceptions.h" #include "gdb_bfd.h" #include "probe.h" diff --git a/gdb/solib.c b/gdb/solib.c index 2f641059b79..41250a2ed97 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -25,7 +25,6 @@ #include "bfd.h" #include "symfile.h" #include "objfiles.h" -#include "exceptions.h" #include "gdbcore.h" #include "command.h" #include "target.h" diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index c9af4fd4c53..032f5de4618 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -44,7 +44,6 @@ #include "dwarf2.h" #include "dwarf2-frame.h" #include "ax.h" -#include "exceptions.h" #include "spu-tdep.h" diff --git a/gdb/stack.c b/gdb/stack.c index c9a85cadebc..4b34e0b8c59 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -36,7 +36,6 @@ #include "block.h" #include "stack.h" #include "dictionary.h" -#include "exceptions.h" #include "reggroups.h" #include "regcache.h" #include "solib.h" diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c index 23202d7ca83..a51bf8b853a 100644 --- a/gdb/stap-probe.c +++ b/gdb/stap-probe.c @@ -28,7 +28,6 @@ #include "gdbcmd.h" #include "filenames.h" #include "value.h" -#include "exceptions.h" #include "ax.h" #include "ax-gdb.h" #include "complaints.h" diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c index ef48f7d1182..b6986b0ec72 100644 --- a/gdb/symfile-mem.c +++ b/gdb/symfile-mem.c @@ -45,7 +45,6 @@ #include "symtab.h" #include "gdbcore.h" #include "objfiles.h" -#include "exceptions.h" #include "gdbcmd.h" #include "target.h" #include "value.h" diff --git a/gdb/symmisc.c b/gdb/symmisc.c index c2146a5614b..223a7d16676 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -27,7 +27,6 @@ #include "breakpoint.h" #include "command.h" #include "gdb_obstack.h" -#include "exceptions.h" #include "language.h" #include "bcache.h" #include "block.h" diff --git a/gdb/target.c b/gdb/target.c index 4606d1751b6..34db6526f00 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -33,7 +33,6 @@ #include #include "regcache.h" #include "gdbcore.h" -#include "exceptions.h" #include "target-descriptions.h" #include "gdbthread.h" #include "solib.h" diff --git a/gdb/thread.c b/gdb/thread.c index ac1d8a15e69..25538d7d438 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -27,7 +27,6 @@ #include "value.h" #include "target.h" #include "gdbthread.h" -#include "exceptions.h" #include "command.h" #include "gdbcmd.h" #include "regcache.h" diff --git a/gdb/top.c b/gdb/top.c index d6696cda754..5a947d718c8 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -26,7 +26,6 @@ #include "symtab.h" #include "inferior.h" #include "infrun.h" -#include "exceptions.h" #include #include "target.h" #include "target-dcache.h" diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index f2f662ef845..51af2af2720 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -49,7 +49,6 @@ #include "ax.h" #include "ax-gdb.h" #include "memrange.h" -#include "exceptions.h" #include "cli/cli-utils.h" #include "probe.h" #include "ctf.h" diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c index 147a42434cf..24cb5a39414 100644 --- a/gdb/tui/tui-interp.c +++ b/gdb/tui/tui-interp.c @@ -29,7 +29,6 @@ #include "tui/tui-win.h" #include "tui/tui.h" #include "tui/tui-io.h" -#include "exceptions.h" #include "infrun.h" #include "observer.h" diff --git a/gdb/typeprint.c b/gdb/typeprint.c index 4d3358fa5de..f97901d608e 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -31,7 +31,6 @@ #include "language.h" #include "cp-abi.h" #include "typeprint.h" -#include "exceptions.h" #include "valprint.h" #include #include "cli/cli-utils.h" diff --git a/gdb/utils.c b/gdb/utils.c index 4da9501774f..3915b58c047 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -22,7 +22,6 @@ #include #include "gdb_wait.h" #include "event-top.h" -#include "exceptions.h" #include "gdbthread.h" #include "fnmatch.h" #include "gdb_bfd.h" diff --git a/gdb/valarith.c b/gdb/valarith.c index 44673a11267..154629bfc62 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -28,7 +28,6 @@ #include "dfp.h" #include #include "infcall.h" -#include "exceptions.h" /* Define whether or not the C operator '/' truncates towards zero for differently signed operands (truncation direction is undefined in C). */ diff --git a/gdb/valops.c b/gdb/valops.c index f1779074943..7f3e4f58c7b 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -38,7 +38,6 @@ #include "tracepoint.h" #include "observer.h" #include "objfiles.h" -#include "exceptions.h" #include "extension.h" extern unsigned int overload_debug; diff --git a/gdb/valprint.c b/gdb/valprint.c index 8cb5c74fd29..52f028ebd66 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -29,7 +29,6 @@ #include "valprint.h" #include "floatformat.h" #include "doublest.h" -#include "exceptions.h" #include "dfp.h" #include "extension.h" #include "ada-lang.h" diff --git a/gdb/value.c b/gdb/value.c index fdc8858daf6..ecfb154b8bc 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -35,7 +35,6 @@ #include "objfiles.h" #include "valprint.h" #include "cli/cli-decode.h" -#include "exceptions.h" #include "extension.h" #include #include "tracepoint.h" diff --git a/gdb/varobj.c b/gdb/varobj.c index 45a19e1b384..80b7c9a967d 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -16,7 +16,6 @@ along with this program. If not, see . */ #include "defs.h" -#include "exceptions.h" #include "value.h" #include "expression.h" #include "frame.h" diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 6f24e9cf706..754a2d1912f 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -26,7 +26,6 @@ #include "inferior.h" #include "infrun.h" #include "target.h" -#include "exceptions.h" #include "gdbcore.h" #include "command.h" #include "completer.h" diff --git a/gdb/xml-support.c b/gdb/xml-support.c index 531ac101753..1bf2005cf03 100644 --- a/gdb/xml-support.c +++ b/gdb/xml-support.c @@ -19,7 +19,6 @@ #include "defs.h" #include "gdbcmd.h" -#include "exceptions.h" #include "xml-support.h" #include "filestuff.h" #include "safe-ctype.h" -- 2.30.2