diff options
author | Gary Benson <gbenson@redhat.com> | 2014-10-08 09:33:22 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-10-08 09:33:22 +0100 |
commit | c765fdb902fd6dbdeaa476b49592a4d9f835d983 (patch) | |
tree | 412b9933ee306af001c5792095fd221b121e2063 /gdb/python | |
parent | 6b97fa271f548025208afdf9380d7c8c5e323a4c (diff) | |
download | gdb-c765fdb902fd6dbdeaa476b49592a4d9f835d983.zip gdb-c765fdb902fd6dbdeaa476b49592a4d9f835d983.tar.gz gdb-c765fdb902fd6dbdeaa476b49592a4d9f835d983.tar.bz2 |
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.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-auto-load.c | 1 | ||||
-rw-r--r-- | gdb/python/py-breakpoint.c | 1 | ||||
-rw-r--r-- | gdb/python/py-cmd.c | 1 | ||||
-rw-r--r-- | gdb/python/py-finishbreakpoint.c | 1 | ||||
-rw-r--r-- | gdb/python/py-frame.c | 1 | ||||
-rw-r--r-- | gdb/python/py-framefilter.c | 1 | ||||
-rw-r--r-- | gdb/python/py-function.c | 1 | ||||
-rw-r--r-- | gdb/python/py-gdb-readline.c | 1 | ||||
-rw-r--r-- | gdb/python/py-inferior.c | 1 | ||||
-rw-r--r-- | gdb/python/py-infthread.c | 1 | ||||
-rw-r--r-- | gdb/python/py-lazy-string.c | 1 | ||||
-rw-r--r-- | gdb/python/py-linetable.c | 1 | ||||
-rw-r--r-- | gdb/python/py-param.c | 1 | ||||
-rw-r--r-- | gdb/python/py-prettyprint.c | 1 | ||||
-rw-r--r-- | gdb/python/py-symbol.c | 1 | ||||
-rw-r--r-- | gdb/python/py-type.c | 1 | ||||
-rw-r--r-- | gdb/python/py-value.c | 1 | ||||
-rw-r--r-- | gdb/python/python-internal.h | 2 | ||||
-rw-r--r-- | gdb/python/python.c | 1 |
19 files changed, 0 insertions, 20 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index 24311ff..9b44416 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 125c6fd..06e708d 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 45af66b..5fc656e 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 712a9ee..4c66e84 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 859d115..bec84ed 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 d53282f..de48af5 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 73d517d..38fe3d7 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 b335df9..d98a196 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 9b8b8f5..181059a 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #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 e03cbd9..1399322 100644 --- a/gdb/python/py-infthread.c +++ b/gdb/python/py-infthread.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #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 0cec387..d1de5f4 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 8b5362b..bb82c8c 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 53d0083..fca1e44 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 a7cd337..35579fb 100644 --- a/gdb/python/py-prettyprint.c +++ b/gdb/python/py-prettyprint.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #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 6900d58..5d71c50 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 26d0118..29a3500 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 bdec389..4313170 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 6e7e600..c262a46 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 40c4ec9..af90bef 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" |