[PATCH 12/13] Include gdb_assert.h in common-defs.h

Gary Benson
2014-07-29T15:11:38Z

This commit includes gdb_assert.h in common-defs.h and removes all
other inclusions.

gdb/
2014-07-29 Gary Benson <gbenson@redhat.com>

* common/common-defs.h: Include gdb_assert.h.
* aarch64-tdep.c: Do not include gdb_assert.h.
* addrmap.c: Likewise.
* aix-thread.c: Likewise.
* alpha-linux-tdep.c: Likewise.
* alpha-mdebug-tdep.c: Likewise.
* alphanbsd-tdep.c: Likewise.
* amd64-nat.c: Likewise.
* amd64-tdep.c: Likewise.
* amd64bsd-nat.c: Likewise.
* amd64fbsd-nat.c: Likewise.
* amd64fbsd-tdep.c: Likewise.
* amd64nbsd-nat.c: Likewise.
* amd64nbsd-tdep.c: Likewise.
* amd64obsd-nat.c: Likewise.
* amd64obsd-tdep.c: Likewise.
* arch-utils.c: Likewise.
* arm-tdep.c: Likewise.
* armbsd-tdep.c: Likewise.
* auxv.c: Likewise.
* bcache.c: Likewise.
* bfin-tdep.c: Likewise.
* blockframe.c: Likewise.
* breakpoint.c: Likewise.
* bsd-kvm.c: Likewise.
* bsd-uthread.c: Likewise.
* buildsym.c: Likewise.
* c-exp.y: Likewise.
* c-lang.c: Likewise.
* charset.c: Likewise.
* cleanups.c: Likewise.
* cli-out.c: Likewise.
* cli/cli-decode.c: Likewise.
* cli/cli-dump.c: Likewise.
* cli/cli-logging.c: Likewise.
* cli/cli-script.c: Likewise.
* cli/cli-utils.c: Likewise.
* coffread.c: Likewise.
* common/common-utils.c: Likewise.
* common/queue.h: Likewise.
* common/signals.c: Likewise.
* common/vec.h: Likewise.
* complaints.c: Likewise.
* completer.c: Likewise.
* corelow.c: Likewise.
* cp-abi.c: Likewise.
* cp-name-parser.y: Likewise.
* cp-namespace.c: Likewise.
* cp-support.c: Likewise.
* cris-tdep.c: Likewise.
* dbxread.c: Likewise.
* dictionary.c: Likewise.
* doublest.c: Likewise.
* dsrec.c: Likewise.
* dummy-frame.c: Likewise.
* dwarf2-frame-tailcall.c: Likewise.
* dwarf2-frame.c: Likewise.
* dwarf2expr.c: Likewise.
* dwarf2loc.c: Likewise.
* dwarf2read.c: Likewise.
* eval.c: Likewise.
* event-loop.c: Likewise.
* exceptions.c: Likewise.
* expprint.c: Likewise.
* f-valprint.c: Likewise.
* fbsd-nat.c: Likewise.
* findvar.c: Likewise.
* frame-unwind.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* gcore.c: Likewise.
* gdb-dlfcn.c: Likewise.
* gdb_bfd.c: Likewise.
* gdbarch.c: Likewise.
* gdbarch.sh: Likewise.
* gdbtypes.c: Likewise.
* gnu-nat.c: Likewise.
* gnu-v3-abi.c: Likewise.
* go-lang.c: Likewise.
* guile/scm-exception.c: Likewise.
* guile/scm-gsmob.c: Likewise.
* guile/scm-lazy-string.c: Likewise.
* guile/scm-math.c: Likewise.
* guile/scm-pretty-print.c: Likewise.
* guile/scm-safe-call.c: Likewise.
* guile/scm-utils.c: Likewise.
* guile/scm-value.c: Likewise.
* h8300-tdep.c: Likewise.
* hppa-hpux-nat.c: Likewise.
* hppa-tdep.c: Likewise.
* hppanbsd-tdep.c: Likewise.
* hppaobsd-tdep.c: Likewise.
* i386-darwin-nat.c: Likewise.
* i386-darwin-tdep.c: Likewise.
* i386-nto-tdep.c: Likewise.
* i386-tdep.c: Likewise.
* i386bsd-nat.c: Likewise.
* i386fbsd-tdep.c: Likewise.
* i386gnu-nat.c: Likewise.
* i386nbsd-tdep.c: Likewise.
* i386obsd-tdep.c: Likewise.
* i387-tdep.c: Likewise.
* ia64-libunwind-tdep.c: Likewise.
* ia64-tdep.c: Likewise.
* inf-ptrace.c: Likewise.
* inf-ttrace.c: Likewise.
* infcall.c: Likewise.
* infcmd.c: Likewise.
* infrun.c: Likewise.
* inline-frame.c: Likewise.
* interps.c: Likewise.
* jv-lang.c: Likewise.
* jv-typeprint.c: Likewise.
* linux-fork.c: Likewise.
* linux-nat.c: Likewise.
* linux-thread-db.c: Likewise.
* m32c-tdep.c: Likewise.
* m32r-linux-nat.c: Likewise.
* m32r-tdep.c: Likewise.
* m68k-tdep.c: Likewise.
* m68kbsd-nat.c: Likewise.
* m68kbsd-tdep.c: Likewise.
* m88k-tdep.c: Likewise.
* machoread.c: Likewise.
* macroexp.c: Likewise.
* macrotab.c: Likewise.
* maint.c: Likewise.
* mdebugread.c: Likewise.
* memory-map.c: Likewise.
* mep-tdep.c: Likewise.
* mi/mi-common.c: Likewise.
* microblaze-tdep.c: Likewise.
* mingw-hdep.c: Likewise.
* mips-linux-nat.c: Likewise.
* mips-linux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* mips64obsd-tdep.c: Likewise.
* mipsnbsd-tdep.c: Likewise.
* mn10300-linux-tdep.c: Likewise.
* mn10300-tdep.c: Likewise.
* moxie-tdep.c: Likewise.
* mt-tdep.c: Likewise.
* nat/linux-btrace.c: Likewise.
* nat/linux-osdata.c: Likewise.
* nat/linux-ptrace.c: Likewise.
* nat/mips-linux-watch.c: Likewise.
* nios2-linux-tdep.c: Likewise.
* nios2-tdep.c: Likewise.
* objc-lang.c: Likewise.
* objfiles.c: Likewise.
* obsd-nat.c: Likewise.
* opencl-lang.c: Likewise.
* osabi.c: Likewise.
* parse.c: Likewise.
* ppc-linux-nat.c: Likewise.
* ppc-sysv-tdep.c: Likewise.
* ppcfbsd-nat.c: Likewise.
* ppcfbsd-tdep.c: Likewise.
* ppcnbsd-nat.c: Likewise.
* ppcnbsd-tdep.c: Likewise.
* ppcobsd-nat.c: Likewise.
* ppcobsd-tdep.c: Likewise.
* printcmd.c: Likewise.
* procfs.c: Likewise.
* prologue-value.c: Likewise.
* psymtab.c: Likewise.
* python/py-lazy-string.c: Likewise.
* python/py-value.c: Likewise.
* regcache.c: Likewise.
* reggroups.c: Likewise.
* registry.c: Likewise.
* remote-sim.c: Likewise.
* remote.c: Likewise.
* rs6000-aix-tdep.c: Likewise.
* rs6000-tdep.c: Likewise.
* s390-linux-tdep.c: Likewise.
* score-tdep.c: Likewise.
* ser-base.c: Likewise.
* ser-mingw.c: Likewise.
* sh-tdep.c: Likewise.
* sh64-tdep.c: Likewise.
* solib-darwin.c: Likewise.
* solib-spu.c: Likewise.
* solib-svr4.c: Likewise.
* source.c: Likewise.
* sparc-nat.c: Likewise.
* sparc-sol2-tdep.c: Likewise.
* sparc-tdep.c: Likewise.
* sparc64-sol2-tdep.c: Likewise.
* sparc64-tdep.c: Likewise.
* sparc64fbsd-tdep.c: Likewise.
* sparc64nbsd-tdep.c: Likewise.
* sparc64obsd-tdep.c: Likewise.
* sparcnbsd-tdep.c: Likewise.
* sparcobsd-tdep.c: Likewise.
* spu-multiarch.c: Likewise.
* spu-tdep.c: Likewise.
* stabsread.c: Likewise.
* stack.c: Likewise.
* symfile.c: Likewise.
* symtab.c: Likewise.
* target-descriptions.c: Likewise.
* target-memory.c: Likewise.
* target.c: Likewise.
* tic6x-linux-tdep.c: Likewise.
* tic6x-tdep.c: Likewise.
* tilegx-linux-nat.c: Likewise.
* tilegx-tdep.c: Likewise.
* top.c: Likewise.
* tramp-frame.c: Likewise.
* tui/tui-out.c: Likewise.
* tui/tui-winsource.c: Likewise.
* ui-out.c: Likewise.
* user-regs.c: Likewise.
* utils.c: Likewise.
* v850-tdep.c: Likewise.
* valops.c: Likewise.
* value.c: Likewise.
* varobj.c: Likewise.
* vax-nat.c: Likewise.
* xml-syscall.c: Likewise.
* xml-tdesc.c: Likewise.
* xstormy16-tdep.c: Likewise.
* xtensa-linux-nat.c: Likewise.
* xtensa-tdep.c: Likewise.

gdb/gdbserver/
2014-07-29 Gary Benson <gbenson@redhat.com>

* server.h: Do not include gdb_assert.h.
---
gdb/ChangeLog | 228 ++++++++++++++++++++++++++++++++++++++++++
gdb/aarch64-tdep.c | 1 -
gdb/addrmap.c | 2 -
gdb/aix-thread.c | 1 -
gdb/alpha-linux-tdep.c | 1 -
gdb/alpha-mdebug-tdep.c | 1 -
gdb/alphanbsd-tdep.c | 1 -
gdb/amd64-nat.c | 1 -
gdb/amd64-tdep.c | 1 -
gdb/amd64bsd-nat.c | 1 -
gdb/amd64fbsd-nat.c | 1 -
gdb/amd64fbsd-tdep.c | 1 -
gdb/amd64nbsd-nat.c | 2 -
gdb/amd64nbsd-tdep.c | 2 -
gdb/amd64obsd-nat.c | 2 -
gdb/amd64obsd-tdep.c | 1 -
gdb/arch-utils.c | 1 -
gdb/arm-tdep.c | 1 -
gdb/armbsd-tdep.c | 1 -
gdb/auxv.c | 1 -
gdb/bcache.c | 1 -
gdb/bfin-tdep.c | 1 -
gdb/blockframe.c | 1 -
gdb/breakpoint.c | 1 -
gdb/bsd-kvm.c | 1 -
gdb/bsd-uthread.c | 1 -
gdb/buildsym.c | 1 -
gdb/c-exp.y | 1 -
gdb/c-lang.c | 1 -
gdb/charset.c | 1 -
gdb/cleanups.c | 1 -
gdb/cli-out.c | 1 -
gdb/cli/cli-decode.c | 1 -
gdb/cli/cli-dump.c | 1 -
gdb/cli/cli-logging.c | 1 -
gdb/cli/cli-script.c | 1 -
gdb/cli/cli-utils.c | 1 -
gdb/coffread.c | 1 -
gdb/common/common-defs.h | 1 +
gdb/common/common-utils.c | 1 -
gdb/common/queue.h | 2 -
gdb/common/signals.c | 1 -
gdb/common/vec.h | 1 -
gdb/complaints.c | 1 -
gdb/completer.c | 1 -
gdb/corelow.c | 1 -
gdb/cp-abi.c | 1 -
gdb/cp-name-parser.y | 1 -
gdb/cp-namespace.c | 1 -
gdb/cp-support.c | 1 -
gdb/cris-tdep.c | 1 -
gdb/dbxread.c | 2 -
gdb/dictionary.c | 1 -
gdb/doublest.c | 1 -
gdb/dsrec.c | 1 -
gdb/dummy-frame.c | 1 -
gdb/dwarf2-frame-tailcall.c | 1 -
gdb/dwarf2-frame.c | 1 -
gdb/dwarf2expr.c | 1 -
gdb/dwarf2loc.c | 1 -
gdb/dwarf2read.c | 1 -
gdb/eval.c | 3 -
gdb/event-loop.c | 1 -
gdb/exceptions.c | 1 -
gdb/expprint.c | 1 -
gdb/f-valprint.c | 1 -
gdb/fbsd-nat.c | 1 -
gdb/findvar.c | 1 -
gdb/frame-unwind.c | 1 -
gdb/frame.c | 1 -
gdb/frv-tdep.c | 1 -
gdb/gcore.c | 1 -
gdb/gdb-dlfcn.c | 2 -
gdb/gdb_bfd.c | 1 -
gdb/gdbarch.c | 1 -
gdb/gdbarch.sh | 1 -
gdb/gdbserver/ChangeLog | 4 +
gdb/gdbserver/server.h | 2 -
gdb/gdbtypes.c | 1 -
gdb/gnu-nat.c | 1 -
gdb/gnu-v3-abi.c | 1 -
gdb/go-lang.c | 1 -
gdb/guile/scm-exception.c | 1 -
gdb/guile/scm-gsmob.c | 1 -
gdb/guile/scm-lazy-string.c | 1 -
gdb/guile/scm-math.c | 1 -
gdb/guile/scm-pretty-print.c | 1 -
gdb/guile/scm-safe-call.c | 1 -
gdb/guile/scm-utils.c | 1 -
gdb/guile/scm-value.c | 1 -
gdb/h8300-tdep.c | 1 -
gdb/hppa-hpux-nat.c | 1 -
gdb/hppa-tdep.c | 1 -
gdb/hppanbsd-tdep.c | 1 -
gdb/hppaobsd-tdep.c | 1 -
gdb/i386-darwin-nat.c | 1 -
gdb/i386-darwin-tdep.c | 1 -
gdb/i386-nto-tdep.c | 1 -
gdb/i386-tdep.c | 1 -
gdb/i386bsd-nat.c | 1 -
gdb/i386fbsd-tdep.c | 2 -
gdb/i386gnu-nat.c | 1 -
gdb/i386nbsd-tdep.c | 1 -
gdb/i386obsd-tdep.c | 1 -
gdb/i387-tdep.c | 1 -
gdb/ia64-libunwind-tdep.c | 1 -
gdb/ia64-tdep.c | 1 -
gdb/inf-ptrace.c | 1 -
gdb/inf-ttrace.c | 1 -
gdb/infcall.c | 1 -
gdb/infcmd.c | 1 -
gdb/infrun.c | 1 -
gdb/inline-frame.c | 2 -
gdb/interps.c | 1 -
gdb/jv-lang.c | 1 -
gdb/jv-typeprint.c | 1 -
gdb/linux-fork.c | 1 -
gdb/linux-nat.c | 1 -
gdb/linux-thread-db.c | 2 -
gdb/m32c-tdep.c | 1 -
gdb/m32r-linux-nat.c | 1 -
gdb/m32r-tdep.c | 2 -
gdb/m68k-tdep.c | 1 -
gdb/m68kbsd-nat.c | 1 -
gdb/m68kbsd-tdep.c | 1 -
gdb/m88k-tdep.c | 1 -
gdb/machoread.c | 1 -
gdb/macroexp.c | 1 -
gdb/macrotab.c | 1 -
gdb/maint.c | 1 -
gdb/mdebugread.c | 1 -
gdb/memory-map.c | 1 -
gdb/mep-tdep.c | 2 -
gdb/mi/mi-common.c | 1 -
gdb/microblaze-tdep.c | 1 -
gdb/mingw-hdep.c | 1 -
gdb/mips-linux-nat.c | 1 -
gdb/mips-linux-tdep.c | 1 -
gdb/mips-tdep.c | 1 -
gdb/mips64obsd-tdep.c | 1 -
gdb/mipsnbsd-tdep.c | 1 -
gdb/mn10300-linux-tdep.c | 1 -
gdb/mn10300-tdep.c | 1 -
gdb/moxie-tdep.c | 2 -
gdb/mt-tdep.c | 1 -
gdb/nat/linux-btrace.c | 1 -
gdb/nat/linux-osdata.c | 1 -
gdb/nat/linux-ptrace.c | 1 -
gdb/nat/mips-linux-watch.c | 1 -
gdb/nios2-linux-tdep.c | 1 -
gdb/nios2-tdep.c | 1 -
gdb/objc-lang.c | 1 -
gdb/objfiles.c | 1 -
gdb/obsd-nat.c | 1 -
gdb/opencl-lang.c | 1 -
gdb/osabi.c | 1 -
gdb/parse.c | 1 -
gdb/ppc-linux-nat.c | 1 -
gdb/ppc-sysv-tdep.c | 1 -
gdb/ppcfbsd-nat.c | 1 -
gdb/ppcfbsd-tdep.c | 1 -
gdb/ppcnbsd-nat.c | 2 -
gdb/ppcnbsd-tdep.c | 1 -
gdb/ppcobsd-nat.c | 1 -
gdb/ppcobsd-tdep.c | 1 -
gdb/printcmd.c | 1 -
gdb/procfs.c | 1 -
gdb/prologue-value.c | 1 -
gdb/psymtab.c | 1 -
gdb/python/py-lazy-string.c | 1 -
gdb/python/py-value.c | 1 -
gdb/regcache.c | 1 -
gdb/reggroups.c | 1 -
gdb/registry.c | 1 -
gdb/remote-sim.c | 1 -
gdb/remote.c | 1 -
gdb/rs6000-aix-tdep.c | 1 -
gdb/rs6000-tdep.c | 1 -
gdb/s390-linux-tdep.c | 1 -
gdb/score-tdep.c | 1 -
gdb/ser-base.c | 1 -
gdb/ser-mingw.c | 1 -
gdb/sh-tdep.c | 1 -
gdb/sh64-tdep.c | 1 -
gdb/solib-darwin.c | 2 -
gdb/solib-spu.c | 1 -
gdb/solib-svr4.c | 2 -
gdb/source.c | 1 -
gdb/sparc-nat.c | 1 -
gdb/sparc-sol2-tdep.c | 1 -
gdb/sparc-tdep.c | 1 -
gdb/sparc64-sol2-tdep.c | 2 -
gdb/sparc64-tdep.c | 1 -
gdb/sparc64fbsd-tdep.c | 1 -
gdb/sparc64nbsd-tdep.c | 1 -
gdb/sparc64obsd-tdep.c | 2 -
gdb/sparcnbsd-tdep.c | 1 -
gdb/sparcobsd-tdep.c | 2 -
gdb/spu-multiarch.c | 1 -
gdb/spu-tdep.c | 1 -
gdb/stabsread.c | 2 -
gdb/stack.c | 1 -
gdb/symfile.c | 1 -
gdb/symtab.c | 1 -
gdb/target-descriptions.c | 1 -
gdb/target-memory.c | 2 -
gdb/target.c | 1 -
gdb/tic6x-linux-tdep.c | 1 -
gdb/tic6x-tdep.c | 1 -
gdb/tilegx-linux-nat.c | 1 -
gdb/tilegx-tdep.c | 1 -
gdb/top.c | 1 -
gdb/tramp-frame.c | 1 -
gdb/tui/tui-out.c | 1 -
gdb/tui/tui-winsource.c | 1 -
gdb/ui-out.c | 1 -
gdb/user-regs.c | 1 -
gdb/utils.c | 1 -
gdb/v850-tdep.c | 1 -
gdb/valops.c | 1 -
gdb/value.c | 1 -
gdb/varobj.c | 1 -
gdb/vax-nat.c | 1 -
gdb/xml-syscall.c | 2 -
gdb/xml-tdesc.c | 2 -
gdb/xstormy16-tdep.c | 1 -
gdb/xtensa-linux-nat.c | 1 -
gdb/xtensa-tdep.c | 1 -
228 files changed, 233 insertions(+), 251 deletions(-)

diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index 4abe36e..445d7b9 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -49,7 +49,6 @@
#include "elf-bfd.h"
#include "elf/aarch64.h"

-#include "gdb_assert.h"
#include "vec.h"

#include "features/aarch64.c"
diff --git a/gdb/addrmap.c b/gdb/addrmap.c
index c942c7b..a5db199 100644
--- a/gdb/addrmap.c
+++ b/gdb/addrmap.c
@@ -21,8 +21,6 @@
#include "splay-tree.h"
#include "gdb_obstack.h"
#include "addrmap.h"
-#include "gdb_assert.h"
-

\f
/* The "abstract class". */
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 3865cba..1eb885b 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -40,7 +40,6 @@
*/

#include "defs.h"
-#include "gdb_assert.h"
#include "gdbthread.h"
#include "target.h"
#include "inferior.h"
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 52f19d0..3d13a75 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -18,7 +18,6 @@

#include "defs.h"
#include "frame.h"
-#include "gdb_assert.h"
#include <string.h>
#include "osabi.h"
#include "solib-svr4.h"
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 8c29425..4cf0eb9 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -23,7 +23,6 @@
#include "symtab.h"
#include "gdbcore.h"
#include "block.h"
-#include "gdb_assert.h"
#include <string.h>
#include "trad-frame.h"

diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c
index 58d9f32..8e237c0 100644
--- a/gdb/alphanbsd-tdep.c
+++ b/gdb/alphanbsd-tdep.c
@@ -27,7 +27,6 @@
#include "regset.h"
#include "value.h"

-#include "gdb_assert.h"
#include <string.h>

#include "alpha-tdep.h"
diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c
index 895f861..943f0ec 100644
--- a/gdb/amd64-nat.c
+++ b/gdb/amd64-nat.c
@@ -21,7 +21,6 @@
#include "gdbarch.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <string.h>

#include "i386-tdep.h"
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 45ed97b..173451f 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 "gdb_assert.h"
#include "exceptions.h"
#include "amd64-tdep.h"
#include "i387-tdep.h"
diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c
index c373a56..f994ec4 100644
--- a/gdb/amd64bsd-nat.c
+++ b/gdb/amd64bsd-nat.c
@@ -24,7 +24,6 @@

/* We include <signal.h> to make sure `struct fxsave64' is defined on
NetBSD, since NetBSD's <machine/reg.h> needs it. */
-#include "gdb_assert.h"
#include <signal.h>
#include <sys/types.h>
#include <sys/ptrace.h>
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c
index 3650bb5..fd189ec 100644
--- a/gdb/amd64fbsd-nat.c
+++ b/gdb/amd64fbsd-nat.c
@@ -22,7 +22,6 @@
#include "regcache.h"
#include "target.h"

-#include "gdb_assert.h"
#include <signal.h>
#include <sys/types.h>
#include <sys/ptrace.h>
diff --git a/gdb/amd64fbsd-tdep.c b/gdb/amd64fbsd-tdep.c
index 627ebaf..6ecf20b 100644
--- a/gdb/amd64fbsd-tdep.c
+++ b/gdb/amd64fbsd-tdep.c
@@ -24,7 +24,6 @@
#include "regcache.h"
#include "osabi.h"

-#include "gdb_assert.h"
#include <string.h>

#include "amd64-tdep.h"
diff --git a/gdb/amd64nbsd-nat.c b/gdb/amd64nbsd-nat.c
index a31ee1d..8bce7ee 100644
--- a/gdb/amd64nbsd-nat.c
+++ b/gdb/amd64nbsd-nat.c
@@ -20,8 +20,6 @@
#include "defs.h"
#include "target.h"

-#include "gdb_assert.h"
-
#include "nbsd-nat.h"
#include "amd64-tdep.h"
#include "amd64-nat.h"
diff --git a/gdb/amd64nbsd-tdep.c b/gdb/amd64nbsd-tdep.c
index ba67602..b48dcc8 100644
--- a/gdb/amd64nbsd-tdep.c
+++ b/gdb/amd64nbsd-tdep.c
@@ -24,8 +24,6 @@
#include "osabi.h"
#include "symtab.h"

-#include "gdb_assert.h"
-
#include "amd64-tdep.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"
diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c
index 01253cb..6c43c62 100644
--- a/gdb/amd64obsd-nat.c
+++ b/gdb/amd64obsd-nat.c
@@ -22,8 +22,6 @@
#include "regcache.h"
#include "target.h"

-#include "gdb_assert.h"
-
#include "amd64-tdep.h"
#include "amd64-nat.h"
#include "obsd-nat.h"
diff --git a/gdb/amd64obsd-tdep.c b/gdb/amd64obsd-tdep.c
index 5a5e209..4cb981f 100644
--- a/gdb/amd64obsd-tdep.c
+++ b/gdb/amd64obsd-tdep.c
@@ -29,7 +29,6 @@
#include "target.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "obsd-tdep.h"
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index d8da743..1772033 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -26,7 +26,6 @@
#include "infrun.h"
#include <string.h>
#include "regcache.h"
-#include "gdb_assert.h"
#include "sim-regno.h"
#include "gdbcore.h"
#include "osabi.h"
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index cb0030c..f9b9175 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -53,7 +53,6 @@
#include "coff/internal.h"
#include "elf/arm.h"

-#include "gdb_assert.h"
#include "vec.h"

#include "record.h"
diff --git a/gdb/armbsd-tdep.c b/gdb/armbsd-tdep.c
index 036db6c..b0c952b 100644
--- a/gdb/armbsd-tdep.c
+++ b/gdb/armbsd-tdep.c
@@ -22,7 +22,6 @@
#include "regcache.h"
#include "regset.h"

-#include "gdb_assert.h"
#include <string.h>

#include "arm-tdep.h"
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 0f322e6..8710d2f 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -23,7 +23,6 @@
#include "command.h"
#include "inferior.h"
#include "valprint.h"
-#include "gdb_assert.h"
#include "gdbcore.h"
#include "observer.h"
#include "filestuff.h"
diff --git a/gdb/bcache.c b/gdb/bcache.c
index 44530bc..2adfcd4 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -23,7 +23,6 @@
#include "gdb_obstack.h"
#include "bcache.h"
#include <string.h> /* For memcpy declaration */
-#include "gdb_assert.h"

/* The type used to hold a single bcache string. The user data is
stored in d.data. Since it can be any type, it needs to have the
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 3fa8173..2e5dbde 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -30,7 +30,6 @@
#include "frame-base.h"
#include "trad-frame.h"
#include "dis-asm.h"
-#include "gdb_assert.h"
#include "sim-regno.h"
#include "gdb/sim-bfin.h"
#include "dwarf2-frame.h"
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 856b9ef..5de116e 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -29,7 +29,6 @@
#include "inferior.h"
#include "annotate.h"
#include "regcache.h"
-#include "gdb_assert.h"
#include "dummy-frame.h"
#include "command.h"
#include "gdbcmd.h"
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 262e992..2fde301 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -48,7 +48,6 @@
#include "gdb.h"
#include "ui-out.h"
#include "cli/cli-script.h"
-#include "gdb_assert.h"
#include "block.h"
#include "solib.h"
#include "solist.h"
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 35ecebb..b6e0c31 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -27,7 +27,6 @@
#include "gdbcore.h" /* for get_exec_file */
#include "gdbthread.h"

-#include "gdb_assert.h"
#include <fcntl.h>
#include <kvm.h>
#ifdef HAVE_NLIST_H
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index c73932a..817a14b 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -29,7 +29,6 @@
#include "symfile.h"
#include "target.h"

-#include "gdb_assert.h"
#include "gdb_obstack.h"

#include "bsd-uthread.h"
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index c49ed68..8fc7b75 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -30,7 +30,6 @@
#include "symfile.h"
#include "objfiles.h"
#include "gdbtypes.h"
-#include "gdb_assert.h"
#include "complaints.h"
#include <string.h>
#include "expression.h" /* For "enum exp_opcode" used by... */
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 0708db3..714e02e 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -50,7 +50,6 @@
#include "block.h"
#include "cp-support.h"
#include "dfp.h"
-#include "gdb_assert.h"
#include "macroscope.h"
#include "objc-lang.h"
#include "typeprint.h"
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index 765a6b0..e647ff6 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -27,7 +27,6 @@
#include "c-lang.h"
#include "valprint.h"
#include "macroscope.h"
-#include "gdb_assert.h"
#include "charset.h"
#include <string.h>
#include "demangle.h"
diff --git a/gdb/charset.c b/gdb/charset.c
index 3e7a85c..c1c1405 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -20,7 +20,6 @@
#include "defs.h"
#include "charset.h"
#include "gdbcmd.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"
#include "gdb_wait.h"
#include "charset-list.h"
diff --git a/gdb/cleanups.c b/gdb/cleanups.c
index e5291ab..ddf8e5b 100644
--- a/gdb/cleanups.c
+++ b/gdb/cleanups.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"

/* The cleanup list records things that have to be undone
if an error happens (descriptors to be closed, memory to be freed, etc.)
diff --git a/gdb/cli-out.c b/gdb/cli-out.c
index eedbd2c..5435385 100644
--- a/gdb/cli-out.c
+++ b/gdb/cli-out.c
@@ -24,7 +24,6 @@
#include "ui-out.h"
#include "cli-out.h"
#include <string.h>
-#include "gdb_assert.h"
#include "vec.h"

typedef struct cli_ui_out_data cli_out_data;
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 819aea8..43e1bab 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -24,7 +24,6 @@
#include "ui-out.h"
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
-#include "gdb_assert.h"

/* Prototypes for local functions. */

diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 7929dc1..b643be4 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -25,7 +25,6 @@
#include "cli/cli-cmds.h"
#include "value.h"
#include "completer.h"
-#include "gdb_assert.h"
#include <ctype.h>
#include "target.h"
#include "readline/readline.h"
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index aae0039..3b1447a 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -21,7 +21,6 @@
#include "gdbcmd.h"
#include "ui-out.h"
#include "interps.h"
-#include "gdb_assert.h"

#include <string.h>

diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index fbcc2dd..d3ca9ec 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -30,7 +30,6 @@
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
#include "cli/cli-script.h"
-#include "gdb_assert.h"

#include "extension.h"
#include "interps.h"
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
index a0ebc11..3deac36 100644
--- a/gdb/cli/cli-utils.c
+++ b/gdb/cli/cli-utils.c
@@ -21,7 +21,6 @@
#include "cli/cli-utils.h"
#include <string.h>
#include "value.h"
-#include "gdb_assert.h"

#include <ctype.h>

diff --git a/gdb/coffread.c b/gdb/coffread.c
index c650d61..9cbe173 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -37,7 +37,6 @@
#include "stabsread.h"
#include "complaints.h"
#include "target.h"
-#include "gdb_assert.h"
#include "block.h"
#include "dictionary.h"

diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index 6a031ec..75a587a 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -38,5 +38,6 @@
#include "gdb_locale.h"
#include "ptid.h"
#include "common-utils.h"
+#include "gdb_assert.h"

#endif /* COMMON_DEFS_H */
diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c
index ab05c9f..3fe9bf9 100644
--- a/gdb/common/common-utils.c
+++ b/gdb/common/common-utils.c
@@ -23,7 +23,6 @@
#include "defs.h"
#endif

-#include "gdb_assert.h"
#include <string.h>

/* The xmalloc() (libiberty.h) family of memory management routines.
diff --git a/gdb/common/queue.h b/gdb/common/queue.h
index 34e4db3..7353b27 100644
--- a/gdb/common/queue.h
+++ b/gdb/common/queue.h
@@ -20,8 +20,6 @@
#ifndef QUEUE_H
#define QUEUE_H

-#include "gdb_assert.h"
-
/* These macros implement functions and structs for a general queue.
Macro 'DEFINE_QUEUE_P(TYPEDEF)' is to define the new queue type for
TYPEDEF', and macro 'DECLARE_QUEUE_P' is to declare external queue
diff --git a/gdb/common/signals.c b/gdb/common/signals.c
index 3c9cd41..d9cacee 100644
--- a/gdb/common/signals.c
+++ b/gdb/common/signals.c
@@ -29,7 +29,6 @@
#endif

#include "gdb_signals.h"
-#include "gdb_assert.h"

struct gdbarch;

diff --git a/gdb/common/vec.h b/gdb/common/vec.h
index 2a39eff..82d4b0d 100644
--- a/gdb/common/vec.h
+++ b/gdb/common/vec.h
@@ -21,7 +21,6 @@
#define GDB_VEC_H

#include <string.h>
-#include "gdb_assert.h"

/* The macros here implement a set of templated vector types and
associated interfaces. These templates are implemented with
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 92a3ef6..704c681 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "complaints.h"
-#include "gdb_assert.h"
#include "command.h"
#include "gdbcmd.h"

diff --git a/gdb/completer.c b/gdb/completer.c
index 64b146b..44920dd 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 "gdb_assert.h"
#include "exceptions.h"
#include "gdb_signals.h"

diff --git a/gdb/corelow.c b/gdb/corelow.c
index 0a066f4..650b67c 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -40,7 +40,6 @@
#include "symfile.h"
#include "exec.h"
#include "readline/readline.h"
-#include "gdb_assert.h"
#include "exceptions.h"
#include "solib.h"
#include "filenames.h"
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index 0bde1c5..c1a0d29 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -24,7 +24,6 @@
#include "exceptions.h"
#include "gdbcmd.h"
#include "ui-out.h"
-#include "gdb_assert.h"
#include <string.h>

static struct cp_abi_ops *find_cp_abi (const char *short_name);
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y
index 0caadfa..a0b7f8b 100644
--- a/gdb/cp-name-parser.y
+++ b/gdb/cp-name-parser.y
@@ -37,7 +37,6 @@
#include "safe-ctype.h"
#include "demangle.h"
#include "cp-support.h"
-#include "gdb_assert.h"

/* Bison does not make it easy to create a parser without global
state, unfortunately. Here are all the global variables used
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index cd57399..c6e1102 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -23,7 +23,6 @@
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
-#include "gdb_assert.h"
#include "block.h"
#include "objfiles.h"
#include "gdbtypes.h"
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 5464117..f1dfcfa 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -22,7 +22,6 @@
#include "cp-support.h"
#include <string.h>
#include "demangle.h"
-#include "gdb_assert.h"
#include "gdbcmd.h"
#include "dictionary.h"
#include "objfiles.h"
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 6861e2b..909a227 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -37,7 +37,6 @@
#include "osabi.h"
#include "arch-utils.h"
#include "regcache.h"
-#include "gdb_assert.h"

#include "objfiles.h"

diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 5171f50..1807094 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -57,8 +57,6 @@
#include "psympriv.h"
#include "block.h"

-#include "gdb_assert.h"
-
#include "aout/aout64.h"
#include "aout/stab_gnu.h" /* We always use GNU stabs, not
native, now. */
diff --git a/gdb/dictionary.c b/gdb/dictionary.c
index a24789a..055c87e 100644
--- a/gdb/dictionary.c
+++ b/gdb/dictionary.c
@@ -25,7 +25,6 @@
#include "gdb_obstack.h"
#include "symtab.h"
#include "buildsym.h"
-#include "gdb_assert.h"
#include "dictionary.h"

/* This file implements dictionaries, which are tables that associate
diff --git a/gdb/doublest.c b/gdb/doublest.c
index a6c11d8..bd4ca6e 100644
--- a/gdb/doublest.c
+++ b/gdb/doublest.c
@@ -26,7 +26,6 @@
#include "defs.h"
#include "doublest.h"
#include "floatformat.h"
-#include "gdb_assert.h"
#include <string.h>
#include "gdbtypes.h"
#include <math.h> /* ldexp */
diff --git a/gdb/dsrec.c b/gdb/dsrec.c
index b782186..c9f8636 100644
--- a/gdb/dsrec.c
+++ b/gdb/dsrec.c
@@ -21,7 +21,6 @@
#include "srec.h"
#include <sys/time.h>
#include <time.h>
-#include "gdb_assert.h"
#include <string.h>
#include "gdb_bfd.h"

diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 35d78e9..d547a63 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -23,7 +23,6 @@
#include "regcache.h"
#include "frame.h"
#include "inferior.h"
-#include "gdb_assert.h"
#include "frame-unwind.h"
#include "command.h"
#include "gdbcmd.h"
diff --git a/gdb/dwarf2-frame-tailcall.c b/gdb/dwarf2-frame-tailcall.c
index dd69d94..bce4c60 100644
--- a/gdb/dwarf2-frame-tailcall.c
+++ b/gdb/dwarf2-frame-tailcall.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"
#include "frame.h"
#include "dwarf2-frame-tailcall.h"
#include "dwarf2loc.h"
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index 3e3ba23..01e0670 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -33,7 +33,6 @@
#include "value.h"
#include "record.h"

-#include "gdb_assert.h"
#include <string.h>

#include "complaints.h"
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index 36c9f66..1d39923 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -26,7 +26,6 @@
#include "gdbcore.h"
#include "dwarf2.h"
#include "dwarf2expr.h"
-#include "gdb_assert.h"

/* Local prototypes. */

diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index b1c7ee1..8f050b8 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -40,7 +40,6 @@
#include "dwarf2-frame.h"

#include <string.h>
-#include "gdb_assert.h"

extern int dwarf2_always_disassemble;

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 276d2f1..cb1bd3a 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -73,7 +73,6 @@

#include <fcntl.h>
#include <string.h>
-#include "gdb_assert.h"
#include <sys/types.h>

typedef struct symbol *symbolp;
diff --git a/gdb/eval.c b/gdb/eval.c
index 5e64e54..b375850 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -40,9 +40,6 @@
#include "valprint.h"
#include "gdb_obstack.h"
#include "objfiles.h"
-
-#include "gdb_assert.h"
-
#include <ctype.h>

/* This is defined in valops.c */
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 5999c97..221dfbc 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -35,7 +35,6 @@
#include <errno.h>
#include <sys/time.h>
#include "exceptions.h"
-#include "gdb_assert.h"
#include "gdb_select.h"
#include "observer.h"

diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index ddaf250..4efc888 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -24,7 +24,6 @@
#include "inferior.h"
#include "annotate.h"
#include "ui-out.h"
-#include "gdb_assert.h"
#include <string.h>
#include "serial.h"
#include "gdbthread.h"
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 7f58e4e..0f87033 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -29,7 +29,6 @@
#include <string.h>
#include "block.h"
#include "objfiles.h"
-#include "gdb_assert.h"
#include "valprint.h"

#include <ctype.h>
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index 408c8cc..728bdaf 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -34,7 +34,6 @@
#include "command.h"
#include "block.h"
#include "dictionary.h"
-#include "gdb_assert.h"
#include "exceptions.h"

extern void _initialize_f_valprint (void);
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 4e115b2..e4b34f6 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -24,7 +24,6 @@
#include "regset.h"
#include "gdbthread.h"

-#include "gdb_assert.h"
#include <string.h>
#include <sys/types.h>
#include <sys/procfs.h>
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 9390c8a..465c9cc 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -26,7 +26,6 @@
#include "inferior.h"
#include "target.h"
#include <string.h>
-#include "gdb_assert.h"
#include "floatformat.h"
#include "symfile.h" /* for overlay functions */
#include "regcache.h"
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index fdfea6e..ebc01ff 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -25,7 +25,6 @@
#include "value.h"
#include "regcache.h"
#include "exceptions.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"
#include "target.h"

diff --git a/gdb/frame.c b/gdb/frame.c
index 8a2b8bf..9d8c8b7 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -23,7 +23,6 @@
#include "value.h"
#include "inferior.h" /* for inferior_ptid */
#include "regcache.h"
-#include "gdb_assert.h"
#include <string.h>
#include "user-regs.h"
#include "gdb_obstack.h"
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index bd4dbdb..349e58d 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -28,7 +28,6 @@
#include "frame-base.h"
#include "trad-frame.h"
#include "dis-asm.h"
-#include "gdb_assert.h"
#include "sim-regno.h"
#include "gdb/sim-frv.h"
#include "opcodes/frv-desc.h" /* for the H_SPR_... enums */
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 13be346..d2adfc8 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -29,7 +29,6 @@
#include "completer.h"
#include "gcore.h"
#include "cli/cli-decode.h"
-#include "gdb_assert.h"
#include <fcntl.h>
#include "regcache.h"
#include "regset.h"
diff --git a/gdb/gdb-dlfcn.c b/gdb/gdb-dlfcn.c
index a808959..3e54f98 100644
--- a/gdb/gdb-dlfcn.c
+++ b/gdb/gdb-dlfcn.c
@@ -18,8 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"
-
#include "gdb-dlfcn.h"

#ifdef HAVE_DLFCN_H
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index 4d4b0a5..fdde3e7 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "gdb_bfd.h"
-#include "gdb_assert.h"
#include <string.h>
#include "ui-out.h"
#include "gdbcmd.h"
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index fe49987..74caa93 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -42,7 +42,6 @@

#include "floatformat.h"

-#include "gdb_assert.h"
#include <string.h>
#include "reggroups.h"
#include "osabi.h"
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 13db4d4..9eab8f0 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -1473,7 +1473,6 @@ cat <<EOF

#include "floatformat.h"

-#include "gdb_assert.h"
#include <string.h>
#include "reggroups.h"
#include "osabi.h"
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 5a3f335..2052103 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -134,8 +134,6 @@ extern int handle_target_event (int err, gdb_client_data client_data);
#include "utils.h"
#include "debug.h"

-#include "gdb_assert.h"
-
/* Maximum number of bytes to read/write at once. The value here
is chosen to fill up a packet (the headers account for the 32). */
#define MAXBUFBYTES(N) (((N)-32)/2)
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index e99a2f3..54a4e1d 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -34,7 +34,6 @@
#include "complaints.h"
#include "gdbcmd.h"
#include "cp-abi.h"
-#include "gdb_assert.h"
#include "hashtab.h"
#include "exceptions.h"
#include "cp-support.h"
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index a2de2f1..3eebba5 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -60,7 +60,6 @@
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbthread.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"

#include "gnu-nat.h"
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index e0be328..5a81213 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -29,7 +29,6 @@
#include "exceptions.h"
#include "typeprint.h"

-#include "gdb_assert.h"
#include <string.h>

static struct cp_abi_ops gnu_v3_abi_ops;
diff --git a/gdb/go-lang.c b/gdb/go-lang.c
index 42535df..f1a2dba 100644
--- a/gdb/go-lang.c
+++ b/gdb/go-lang.c
@@ -32,7 +32,6 @@
*/

#include "defs.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"
#include <string.h>
#include "block.h"
diff --git a/gdb/guile/scm-exception.c b/gdb/guile/scm-exception.c
index d1df55b..826e06c 100644
--- a/gdb/guile/scm-exception.c
+++ b/gdb/guile/scm-exception.c
@@ -30,7 +30,6 @@

#include "defs.h"
#include <signal.h>
-#include "gdb_assert.h"
#include "guile-internal.h"

/* The <gdb:exception> smob.
diff --git a/gdb/guile/scm-gsmob.c b/gdb/guile/scm-gsmob.c
index 156ca8c..b00d641 100644
--- a/gdb/guile/scm-gsmob.c
+++ b/gdb/guile/scm-gsmob.c
@@ -43,7 +43,6 @@

#include "defs.h"
#include "hashtab.h"
-#include "gdb_assert.h"
#include "objfiles.h"
#include "guile-internal.h"

diff --git a/gdb/guile/scm-lazy-string.c b/gdb/guile/scm-lazy-string.c
index a34cb60..88d3004 100644
--- a/gdb/guile/scm-lazy-string.c
+++ b/gdb/guile/scm-lazy-string.c
@@ -26,7 +26,6 @@
#include "exceptions.h"
#include "valprint.h"
#include "language.h"
-#include "gdb_assert.h"
#include "guile-internal.h"

/* The <gdb:lazy-string> smob. */
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index 80e1673..e05f99e 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -27,7 +27,6 @@
#include "doublest.h" /* Needed by dfp.h. */
#include "expression.h" /* Needed by dfp.h. */
#include "dfp.h"
-#include "gdb_assert.h"
#include "symtab.h" /* Needed by language.h. */
#include "language.h"
#include "valprint.h"
diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c
index 79b9e64..5c94c78 100644
--- a/gdb/guile/scm-pretty-print.c
+++ b/gdb/guile/scm-pretty-print.c
@@ -22,7 +22,6 @@

#include "defs.h"
#include "charset.h"
-#include "gdb_assert.h"
#include "symtab.h" /* Needed by language.h. */
#include "language.h"
#include "objfiles.h"
diff --git a/gdb/guile/scm-safe-call.c b/gdb/guile/scm-safe-call.c
index 2a69a4f..e07c6c0 100644
--- a/gdb/guile/scm-safe-call.c
+++ b/gdb/guile/scm-safe-call.c
@@ -22,7 +22,6 @@

#include "defs.h"
#include "filenames.h"
-#include "gdb_assert.h"
#include "guile-internal.h"

/* Struct to marshall args to scscm_safe_call_body. */
diff --git a/gdb/guile/scm-utils.c b/gdb/guile/scm-utils.c
index ada77a3..72da867 100644
--- a/gdb/guile/scm-utils.c
+++ b/gdb/guile/scm-utils.c
@@ -22,7 +22,6 @@

#include "defs.h"
#include <stdint.h>
-#include "gdb_assert.h"
#include "guile-internal.h"

/* Define VARIABLES in the gdb module. */
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c
index 211ef66..5d88059 100644
--- a/gdb/guile/scm-value.c
+++ b/gdb/guile/scm-value.c
@@ -24,7 +24,6 @@
#include "arch-utils.h"
#include "charset.h"
#include "cp-abi.h"
-#include "gdb_assert.h"
#include "infcall.h"
#include "symtab.h" /* Needed by language.h. */
#include "language.h"
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index f847085..0f58553 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -28,7 +28,6 @@
#include "regcache.h"
#include "gdbcore.h"
#include "objfiles.h"
-#include "gdb_assert.h"
#include "dis-asm.h"
#include "dwarf2-frame.h"
#include "frame-base.h"
diff --git a/gdb/hppa-hpux-nat.c b/gdb/hppa-hpux-nat.c
index c38a8c0..65a2b85 100644
--- a/gdb/hppa-hpux-nat.c
+++ b/gdb/hppa-hpux-nat.c
@@ -22,7 +22,6 @@
#include "regcache.h"
#include "target.h"

-#include "gdb_assert.h"
#include <sys/ptrace.h>
#include <sys/utsname.h>
#include <machine/save_state.h>
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index e302ebb..73fe540 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -26,7 +26,6 @@
#include "regcache.h"
#include "completer.h"
#include "osabi.h"
-#include "gdb_assert.h"
#include "arch-utils.h"
/* For argument passing to the inferior. */
#include "symtab.h"
diff --git a/gdb/hppanbsd-tdep.c b/gdb/hppanbsd-tdep.c
index fdc9719..657d4c2 100644
--- a/gdb/hppanbsd-tdep.c
+++ b/gdb/hppanbsd-tdep.c
@@ -25,7 +25,6 @@
#include "trad-frame.h"
#include "tramp-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "hppa-tdep.h"
diff --git a/gdb/hppaobsd-tdep.c b/gdb/hppaobsd-tdep.c
index 8dc03a2..eece2d1 100644
--- a/gdb/hppaobsd-tdep.c
+++ b/gdb/hppaobsd-tdep.c
@@ -22,7 +22,6 @@
#include "regcache.h"
#include "regset.h"

-#include "gdb_assert.h"
#include <string.h>

#include "hppa-tdep.h"
diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c
index faf901e..f94c053 100644
--- a/gdb/i386-darwin-nat.c
+++ b/gdb/i386-darwin-nat.c
@@ -27,7 +27,6 @@
#include "objfiles.h"
#include "gdbcmd.h"
#include "regcache.h"
-#include "gdb_assert.h"
#include "i386-tdep.h"
#include "i387-tdep.h"
#include "gdbarch.h"
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c
index f2c08d7..87f2aff 100644
--- a/gdb/i386-darwin-tdep.c
+++ b/gdb/i386-darwin-tdep.c
@@ -33,7 +33,6 @@
#include "i386-tdep.h"
#include "osabi.h"
#include "ui-out.h"
-#include "gdb_assert.h"
#include "i386-darwin-tdep.h"
#include "solib.h"
#include "solib-darwin.h"
diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c
index d005914..57be471 100644
--- a/gdb/i386-nto-tdep.c
+++ b/gdb/i386-nto-tdep.c
@@ -25,7 +25,6 @@
#include "regcache.h"
#include "target.h"

-#include "gdb_assert.h"
#include <string.h>

#include "i386-tdep.h"
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 5e3cc79..7544f06 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -45,7 +45,6 @@
#include "disasm.h"
#include "remote.h"
#include "exceptions.h"
-#include "gdb_assert.h"
#include <string.h>

#include "i386-tdep.h"
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 4bee159..ec7fd70 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -21,7 +21,6 @@
#include "inferior.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <signal.h>
#include <sys/types.h>
#include <sys/ptrace.h>
diff --git a/gdb/i386fbsd-tdep.c b/gdb/i386fbsd-tdep.c
index ed6df6b..8942ad3 100644
--- a/gdb/i386fbsd-tdep.c
+++ b/gdb/i386fbsd-tdep.c
@@ -23,8 +23,6 @@
#include "osabi.h"
#include "regcache.h"

-#include "gdb_assert.h"
-
#include "i386-tdep.h"
#include "i387-tdep.h"
#include "bsd-uthread.h"
diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c
index 23a70b3..fbd3344 100644
--- a/gdb/i386gnu-nat.c
+++ b/gdb/i386gnu-nat.c
@@ -22,7 +22,6 @@
#include "floatformat.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <errno.h>
#include <string.h>

diff --git a/gdb/i386nbsd-tdep.c b/gdb/i386nbsd-tdep.c
index 112f9f2..4b024f5 100644
--- a/gdb/i386nbsd-tdep.c
+++ b/gdb/i386nbsd-tdep.c
@@ -28,7 +28,6 @@
#include "trad-frame.h"
#include "tramp-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "i386-tdep.h"
diff --git a/gdb/i386obsd-tdep.c b/gdb/i386obsd-tdep.c
index 8f76e43..acdfc7e 100644
--- a/gdb/i386obsd-tdep.c
+++ b/gdb/i386obsd-tdep.c
@@ -30,7 +30,6 @@
#include "target.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "obsd-tdep.h"
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index c58a000..1613c2f 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -27,7 +27,6 @@
#include "regcache.h"
#include "value.h"

-#include "gdb_assert.h"
#include <string.h>

#include "i386-tdep.h"
diff --git a/gdb/ia64-libunwind-tdep.c b/gdb/ia64-libunwind-tdep.c
index fe1fbdc..dec4547 100644
--- a/gdb/ia64-libunwind-tdep.c
+++ b/gdb/ia64-libunwind-tdep.c
@@ -33,7 +33,6 @@

#include <dlfcn.h>

-#include "gdb_assert.h"
#include <string.h>

#include "ia64-libunwind-tdep.h"
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 08eb79d..776a8be 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -30,7 +30,6 @@
#include "frame-unwind.h"
#include "doublest.h"
#include "value.h"
-#include "gdb_assert.h"
#include "objfiles.h"
#include "elf/common.h" /* for DT_PLTGOT value */
#include "elf-bfd.h"
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index e1d64f8..c334474 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -25,7 +25,6 @@
#include "gdbcore.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <string.h>
#include "gdb_ptrace.h"
#include "gdb_wait.h"
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index a7c3481..d5075f7 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -30,7 +30,6 @@
#include "terminal.h"
#include "target.h"

-#include "gdb_assert.h"
#include <string.h>
#include <sys/mman.h>
#include <sys/ttrace.h>
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 5c65bb5..c58295a 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -24,7 +24,6 @@
#include "regcache.h"
#include "inferior.h"
#include "infrun.h"
-#include "gdb_assert.h"
#include "block.h"
#include "gdbcore.h"
#include "language.h"
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5eb092b..f5f0ebf 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -43,7 +43,6 @@
#include "block.h"
#include "solib.h"
#include <ctype.h>
-#include "gdb_assert.h"
#include "observer.h"
#include "target-descriptions.h"
#include "user-regs.h"
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 33aa674..0614de9 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -46,7 +46,6 @@
#include "main.h"
#include "dictionary.h"
#include "block.h"
-#include "gdb_assert.h"
#include "mi/mi-common.h"
#include "event-top.h"
#include "record.h"
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c
index 50f492a..cecb2af 100644
--- a/gdb/inline-frame.c
+++ b/gdb/inline-frame.c
@@ -28,8 +28,6 @@
#include "vec.h"
#include "frame.h"

-#include "gdb_assert.h"
-
/* We need to save a few variables for every thread stopped at the
virtual call site of an inlined function. If there was always a
"struct thread_info", we could hang it off that; in the mean time,
diff --git a/gdb/interps.c b/gdb/interps.c
index 5a93095..297e498 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -37,7 +37,6 @@
#include "interps.h"
#include "completer.h"
#include <string.h>
-#include "gdb_assert.h"
#include "top.h" /* For command_loop. */
#include "exceptions.h"
#include "continuations.h"
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index 3e5f096..5e6bae3 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -35,7 +35,6 @@
#include "demangle.h"
#include "dictionary.h"
#include <ctype.h>
-#include "gdb_assert.h"
#include "charset.h"
#include "valprint.h"
#include "cp-support.h"
diff --git a/gdb/jv-typeprint.c b/gdb/jv-typeprint.c
index df46deb..972edf2 100644
--- a/gdb/jv-typeprint.c
+++ b/gdb/jv-typeprint.c
@@ -29,7 +29,6 @@
#include "c-lang.h"
#include "cp-abi.h"
#include "cp-support.h"
-#include "gdb_assert.h"

/* Local functions */

diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index b9f8cfb..c9995bf 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -25,7 +25,6 @@
#include "gdbcmd.h"
#include "infcall.h"
#include "objfiles.h"
-#include "gdb_assert.h"
#include <string.h>
#include "linux-fork.h"
#include "linux-nat.h"
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 8d4251f..703ae07 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -25,7 +25,6 @@
#include "nat/linux-waitpid.h"
#include <string.h>
#include "gdb_wait.h"
-#include "gdb_assert.h"
#ifdef HAVE_TKILL_SYSCALL
#include <unistd.h>
#include <sys/syscall.h>
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index af8232a..8adcb40 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -18,8 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-
-#include "gdb_assert.h"
#include <dlfcn.h>
#include "gdb_proc_service.h"
#include "nat/gdb_thread_db.h"
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index 88f17a9..2374f36 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include <string.h>
-#include "gdb_assert.h"
#include "elf-bfd.h"
#include "elf/m32c.h"
#include "gdb/sim-m32c.h"
diff --git a/gdb/m32r-linux-nat.c b/gdb/m32r-linux-nat.c
index d1efaac..f38cd53 100644
--- a/gdb/m32r-linux-nat.c
+++ b/gdb/m32r-linux-nat.c
@@ -24,7 +24,6 @@
#include "linux-nat.h"
#include "target.h"

-#include "gdb_assert.h"
#include <string.h>
#include <sys/ptrace.h>
#include <sys/user.h>
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c
index 838d3d9..6928c96 100644
--- a/gdb/m32r-tdep.c
+++ b/gdb/m32r-tdep.c
@@ -38,8 +38,6 @@
#include "dis-asm.h"
#include "objfiles.h"

-#include "gdb_assert.h"
-
#include "m32r-tdep.h"

/* Local functions */
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 6b3f2b1..d3c6d01 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -27,7 +27,6 @@
#include "gdbcore.h"
#include "value.h"
#include <string.h>
-#include "gdb_assert.h"
#include "inferior.h"
#include "regcache.h"
#include "arch-utils.h"
diff --git a/gdb/m68kbsd-nat.c b/gdb/m68kbsd-nat.c
index dbd0e15..6ef3b4b 100644
--- a/gdb/m68kbsd-nat.c
+++ b/gdb/m68kbsd-nat.c
@@ -22,7 +22,6 @@
#include "inferior.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
diff --git a/gdb/m68kbsd-tdep.c b/gdb/m68kbsd-tdep.c
index d27beb8..f1f63e1 100644
--- a/gdb/m68kbsd-tdep.c
+++ b/gdb/m68kbsd-tdep.c
@@ -27,7 +27,6 @@
#include "tramp-frame.h"
#include "gdbtypes.h"

-#include "gdb_assert.h"
#include <string.h>

#include "m68k-tdep.h"
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c
index 56384a7..3ce292e 100644
--- a/gdb/m88k-tdep.c
+++ b/gdb/m88k-tdep.c
@@ -31,7 +31,6 @@
#include "trad-frame.h"
#include "value.h"

-#include "gdb_assert.h"
#include <string.h>

#include "m88k-tdep.h"
diff --git a/gdb/machoread.c b/gdb/machoread.c
index f5e4a1e..96cc769 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -28,7 +28,6 @@
#include "gdbcmd.h"
#include "gdbcore.h"
#include "mach-o.h"
-#include "gdb_assert.h"
#include "aout/stab_gnu.h"
#include "vec.h"
#include "psympriv.h"
diff --git a/gdb/macroexp.c b/gdb/macroexp.c
index 30db47a..0faa07f 100644
--- a/gdb/macroexp.c
+++ b/gdb/macroexp.c
@@ -22,7 +22,6 @@
#include "bcache.h"
#include "macrotab.h"
#include "macroexp.h"
-#include "gdb_assert.h"
#include "c-lang.h"

diff --git a/gdb/macrotab.c b/gdb/macrotab.c
index 49f00b6..1e02b0a 100644
--- a/gdb/macrotab.c
+++ b/gdb/macrotab.c
@@ -25,7 +25,6 @@
#include "symfile.h"
#include "objfiles.h"
#include "macrotab.h"
-#include "gdb_assert.h"
#include "bcache.h"
#include "complaints.h"
#include "macroexp.h"
diff --git a/gdb/maint.c b/gdb/maint.c
index d4d5810..7fd2d58 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -38,7 +38,6 @@
#include "symfile.h"
#include "objfiles.h"
#include "value.h"
-#include "gdb_assert.h"
#include "top.h"
#include "timeval-utils.h"
#include "maint.h"
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 2e9608b..a6fbd6a 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -51,7 +51,6 @@
#include "complaints.h"
#include "demangle.h"
#include "gdb-demangle.h"
-#include "gdb_assert.h"
#include "block.h"
#include "dictionary.h"
#include "mdebugread.h"
diff --git a/gdb/memory-map.c b/gdb/memory-map.c
index 80cd22b..522f16b 100644
--- a/gdb/memory-map.c
+++ b/gdb/memory-map.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "memory-map.h"
-#include "gdb_assert.h"
#include "exceptions.h"

#include <string.h>
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c
index 28c826e..dd3cc5f 100644
--- a/gdb/mep-tdep.c
+++ b/gdb/mep-tdep.c
@@ -48,8 +48,6 @@
#include "cgen/bitset.h"
#include "infcall.h"

-#include "gdb_assert.h"
-
/* Get the user's customized MeP coprocessor register names from
libopcodes. */
#include "opcodes/mep-desc.h"
diff --git a/gdb/mi/mi-common.c b/gdb/mi/mi-common.c
index 91cd35f..2dcdf8d 100644
--- a/gdb/mi/mi-common.c
+++ b/gdb/mi/mi-common.c
@@ -17,7 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"
#include "mi-common.h"

static const char * const async_reason_string_lookup[] =
diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c
index 93e93db..80c79f6 100644
--- a/gdb/microblaze-tdep.c
+++ b/gdb/microblaze-tdep.c
@@ -33,7 +33,6 @@
#include "frame-unwind.h"
#include "dwarf2-frame.h"
#include "osabi.h"
-#include "gdb_assert.h"
#include <string.h>
#include "target-descriptions.h"
#include "opcodes/microblaze-opcm.h"
diff --git a/gdb/mingw-hdep.c b/gdb/mingw-hdep.c
index 50dc372..c71814f 100644
--- a/gdb/mingw-hdep.c
+++ b/gdb/mingw-hdep.c
@@ -22,7 +22,6 @@
#include "serial.h"
#include "event-loop.h"

-#include "gdb_assert.h"
#include "gdb_select.h"
#include <string.h>
#include "readline/readline.h"
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index dbd7ae7..88faa1e 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -20,7 +20,6 @@
#include "defs.h"
#include "command.h"
#include "gdbcmd.h"
-#include "gdb_assert.h"
#include "inferior.h"
#include "mips-tdep.h"
#include "target.h"
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index a975db6..1e81271 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -24,7 +24,6 @@
#include "osabi.h"
#include "mips-tdep.h"
#include <string.h>
-#include "gdb_assert.h"
#include "frame.h"
#include "regcache.h"
#include "trad-frame.h"
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 9a530a8..bbbf8a2 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -22,7 +22,6 @@

#include "defs.h"
#include <string.h>
-#include "gdb_assert.h"
#include "frame.h"
#include "inferior.h"
#include "symtab.h"
diff --git a/gdb/mips64obsd-tdep.c b/gdb/mips64obsd-tdep.c
index 6d8b9ee..8a89af1 100644
--- a/gdb/mips64obsd-tdep.c
+++ b/gdb/mips64obsd-tdep.c
@@ -25,7 +25,6 @@
#include "trad-frame.h"
#include "tramp-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "obsd-tdep.h"
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c
index 31b8dca..2b7a1d3 100644
--- a/gdb/mipsnbsd-tdep.c
+++ b/gdb/mipsnbsd-tdep.c
@@ -27,7 +27,6 @@
#include "value.h"
#include "osabi.h"

-#include "gdb_assert.h"
#include <string.h>

#include "nbsd-tdep.h"
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index 1b72efa..cbaa010 100644
--- a/gdb/mn10300-linux-tdep.c
+++ b/gdb/mn10300-linux-tdep.c
@@ -22,7 +22,6 @@
#include <string.h>
#include "regcache.h"
#include "mn10300-tdep.h"
-#include "gdb_assert.h"
#include "bfd.h"
#include "elf-bfd.h"
#include "osabi.h"
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 10a8262..bc21465 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -23,7 +23,6 @@
#include "gdbtypes.h"
#include "regcache.h"
#include <string.h>
-#include "gdb_assert.h"
#include "gdbcore.h" /* For write_memory_unsigned_integer. */
#include "value.h"
#include "frame.h"
diff --git a/gdb/moxie-tdep.c b/gdb/moxie-tdep.c
index 793e7a4..6d3c130 100644
--- a/gdb/moxie-tdep.c
+++ b/gdb/moxie-tdep.c
@@ -39,8 +39,6 @@
#include "record.h"
#include "record-full.h"

-#include "gdb_assert.h"
-
#include "moxie-tdep.h"

/* Local functions. */
diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c
index e3786e8..1904bf8 100644
--- a/gdb/mt-tdep.c
+++ b/gdb/mt-tdep.c
@@ -35,7 +35,6 @@
#include "inferior.h"
#include "dwarf2-frame.h"
#include "infcall.h"
-#include "gdb_assert.h"
#include "language.h"
#include "valprint.h"

diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c
index 84de8a7..baf07e8 100644
--- a/gdb/nat/linux-btrace.c
+++ b/gdb/nat/linux-btrace.c
@@ -26,7 +26,6 @@
#endif

#include "linux-btrace.h"
-#include "gdb_assert.h"
#include "regcache.h"
#include "gdbthread.h"
#include "gdb_wait.h"
diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c
index d9d1325..0ef7fa3 100644
--- a/gdb/nat/linux-osdata.c
+++ b/gdb/nat/linux-osdata.c
@@ -40,7 +40,6 @@

#include "xml-utils.h"
#include "buffer.h"
-#include "gdb_assert.h"
#include <dirent.h>
#include <sys/stat.h>
#include "filestuff.h"
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c
index 24b02b9..8abb842 100644
--- a/gdb/nat/linux-ptrace.c
+++ b/gdb/nat/linux-ptrace.c
@@ -27,7 +27,6 @@
#include "linux-procfs.h"
#include "linux-waitpid.h"
#include "buffer.h"
-#include "gdb_assert.h"
#include "gdb_wait.h"

#include <stdint.h>
diff --git a/gdb/nat/mips-linux-watch.c b/gdb/nat/mips-linux-watch.c
index ebe5523..ea6e02d 100644
--- a/gdb/nat/mips-linux-watch.c
+++ b/gdb/nat/mips-linux-watch.c
@@ -22,7 +22,6 @@
#endif
#include <sys/ptrace.h>
#include "mips-linux-watch.h"
-#include "gdb_assert.h"

/* Assuming usable watch registers REGS, return the irw_mask of
register N. */
diff --git a/gdb/nios2-linux-tdep.c b/gdb/nios2-linux-tdep.c
index 84ab576..2041336 100644
--- a/gdb/nios2-linux-tdep.c
+++ b/gdb/nios2-linux-tdep.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "frame.h"
-#include "gdb_assert.h"
#include <string.h>
#include "osabi.h"
#include "solib-svr4.h"
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c
index 7b1b640..18a5913 100644
--- a/gdb/nios2-tdep.c
+++ b/gdb/nios2-tdep.c
@@ -38,7 +38,6 @@
#include "symfile.h"
#include "arch-utils.h"
#include "floatformat.h"
-#include "gdb_assert.h"
#include "infcall.h"
#include "regset.h"
#include "target-descriptions.h"
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 68f0d10..c6d344e 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -44,7 +44,6 @@
#include "block.h"
#include "infcall.h"
#include "valprint.h"
-#include "gdb_assert.h"
#include "cli/cli-utils.h"

#include <ctype.h>
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 0a0b1cb..7c6fca8 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -33,7 +33,6 @@
#include "expression.h"
#include "parser-defs.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/gdb/obsd-nat.c b/gdb/obsd-nat.c
index f53e616..e4a98ae 100644
--- a/gdb/obsd-nat.c
+++ b/gdb/obsd-nat.c
@@ -22,7 +22,6 @@
#include "inferior.h"
#include "target.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include "gdb_wait.h"
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c
index 2dd76fa..96b562d 100644
--- a/gdb/opencl-lang.c
+++ b/gdb/opencl-lang.c
@@ -27,7 +27,6 @@
#include "language.h"
#include "varobj.h"
#include "c-lang.h"
-#include "gdb_assert.h"

extern void _initialize_opencl_language (void);

diff --git a/gdb/osabi.c b/gdb/osabi.c
index 5b69eeb..ae4290f 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -19,7 +19,6 @@

#include "defs.h"

-#include "gdb_assert.h"
#include <string.h>

#include "osabi.h"
diff --git a/gdb/parse.c b/gdb/parse.c
index 105d0cd..d35eb3a 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -46,7 +46,6 @@
#include "symfile.h" /* for overlay functions */
#include "inferior.h"
#include "doublest.h"
-#include "gdb_assert.h"
#include "block.h"
#include "source.h"
#include "objfiles.h"
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 6e8994e..3da6254 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -25,7 +25,6 @@
#include "gdbthread.h"
#include "gdbcore.h"
#include "regcache.h"
-#include "gdb_assert.h"
#include "target.h"
#include "linux-nat.h"

diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c
index 1a880a6..c56164f 100644
--- a/gdb/ppc-sysv-tdep.c
+++ b/gdb/ppc-sysv-tdep.c
@@ -24,7 +24,6 @@
#include "regcache.h"
#include "value.h"
#include <string.h>
-#include "gdb_assert.h"
#include "ppc-tdep.h"
#include "target.h"
#include "objfiles.h"
diff --git a/gdb/ppcfbsd-nat.c b/gdb/ppcfbsd-nat.c
index aeb47af..1b27c6b 100644
--- a/gdb/ppcfbsd-nat.c
+++ b/gdb/ppcfbsd-nat.c
@@ -22,7 +22,6 @@
#include "inferior.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
diff --git a/gdb/ppcfbsd-tdep.c b/gdb/ppcfbsd-tdep.c
index 28f5b7b..21a3bbc 100644
--- a/gdb/ppcfbsd-tdep.c
+++ b/gdb/ppcfbsd-tdep.c
@@ -30,7 +30,6 @@
#include "target.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "ppc-tdep.h"
diff --git a/gdb/ppcnbsd-nat.c b/gdb/ppcnbsd-nat.c
index db34538..5c5bb64 100644
--- a/gdb/ppcnbsd-nat.c
+++ b/gdb/ppcnbsd-nat.c
@@ -31,8 +31,6 @@
#include "inferior.h"
#include "regcache.h"

-#include "gdb_assert.h"
-
#include "ppc-tdep.h"
#include "ppcnbsd-tdep.h"
#include "bsd-kvm.h"
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c
index 6fe8477..0043994 100644
--- a/gdb/ppcnbsd-tdep.c
+++ b/gdb/ppcnbsd-tdep.c
@@ -27,7 +27,6 @@
#include "trad-frame.h"
#include "tramp-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "ppc-tdep.h"
diff --git a/gdb/ppcobsd-nat.c b/gdb/ppcobsd-nat.c
index 9e3e85b..0c82eca 100644
--- a/gdb/ppcobsd-nat.c
+++ b/gdb/ppcobsd-nat.c
@@ -22,7 +22,6 @@
#include "inferior.h"
#include "regcache.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/signal.h>
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c
index 2cdf687..b3a9677 100644
--- a/gdb/ppcobsd-tdep.c
+++ b/gdb/ppcobsd-tdep.c
@@ -28,7 +28,6 @@
#include "symtab.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "ppc-tdep.h"
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 228d4ad..9154836 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -37,7 +37,6 @@
#include "objfiles.h" /* ditto */
#include "completer.h" /* for completion functions */
#include "ui-out.h"
-#include "gdb_assert.h"
#include "block.h"
#include "disasm.h"
#include "dfp.h"
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 5075dcd..40aaed5 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -48,7 +48,6 @@
#include <ctype.h>
#include "gdb_bfd.h"
#include <string.h>
-#include "gdb_assert.h"
#include "inflow.h"
#include "auxv.h"
#include "procfs.h"
diff --git a/gdb/prologue-value.c b/gdb/prologue-value.c
index 56b32f4..f82e1a1 100644
--- a/gdb/prologue-value.c
+++ b/gdb/prologue-value.c
@@ -18,7 +18,6 @@

#include "defs.h"
#include <string.h>
-#include "gdb_assert.h"
#include "prologue-value.h"
#include "regcache.h"

diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index ba6a58a..6c0c880 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -21,7 +21,6 @@
#include "symtab.h"
#include "psympriv.h"
#include "objfiles.h"
-#include "gdb_assert.h"
#include "block.h"
#include "filenames.h"
#include "source.h"
diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c
index ac9fc0c..0cec387 100644
--- a/gdb/python/py-lazy-string.c
+++ b/gdb/python/py-lazy-string.c
@@ -24,7 +24,6 @@
#include "exceptions.h"
#include "valprint.h"
#include "language.h"
-#include "gdb_assert.h"

typedef struct {
PyObject_HEAD
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c
index 8532da6..bdec389 100644
--- a/gdb/python/py-value.c
+++ b/gdb/python/py-value.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"
#include "charset.h"
#include "value.h"
#include "exceptions.h"
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 5ee90b0..506067f 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -24,7 +24,6 @@
#include "gdbcmd.h"
#include "regcache.h"
#include "reggroups.h"
-#include "gdb_assert.h"
#include <string.h>
#include "observer.h"
#include "exceptions.h"
diff --git a/gdb/reggroups.c b/gdb/reggroups.c
index 41ec41a..66b5c78 100644
--- a/gdb/reggroups.c
+++ b/gdb/reggroups.c
@@ -23,7 +23,6 @@
#include "arch-utils.h"
#include "reggroups.h"
#include "gdbtypes.h"
-#include "gdb_assert.h"
#include "regcache.h"
#include "command.h"
#include "gdbcmd.h" /* For maintenanceprintlist. */
diff --git a/gdb/registry.c b/gdb/registry.c
index 2fd6033..378c369 100644
--- a/gdb/registry.c
+++ b/gdb/registry.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "registry.h"
-#include "gdb_assert.h"
#include <string.h>

const struct registry_data *
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 3acc9da..e652458 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -37,7 +37,6 @@
#include "gdb/remote-sim.h"
#include "command.h"
#include "regcache.h"
-#include "gdb_assert.h"
#include "sim-regno.h"
#include "arch-utils.h"
#include "readline/readline.h"
diff --git a/gdb/remote.c b/gdb/remote.c
index 3a05bfd..24ff0c3 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -38,7 +38,6 @@
#include "remote-notif.h"
#include "regcache.h"
#include "value.h"
-#include "gdb_assert.h"
#include "observer.h"
#include "solib.h"
#include "cli/cli-decode.h"
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c
index 83e881e..3845df8 100644
--- a/gdb/rs6000-aix-tdep.c
+++ b/gdb/rs6000-aix-tdep.c
@@ -21,7 +21,6 @@

#include "defs.h"
#include <string.h>
-#include "gdb_assert.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index c4ce51c..41f80d5 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -55,7 +55,6 @@
#include "ppc-tdep.h"
#include "ppc-ravenscar-thread.h"

-#include "gdb_assert.h"
#include "dis-asm.h"

#include "trad-frame.h"
diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c
index ea743b5..d10e47a 100644
--- a/gdb/s390-linux-tdep.c
+++ b/gdb/s390-linux-tdep.c
@@ -39,7 +39,6 @@
#include "reggroups.h"
#include "regset.h"
#include "value.h"
-#include "gdb_assert.h"
#include "dis-asm.h"
#include "solib-svr4.h"
#include "prologue-value.h"
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c
index c224189..977216d 100644
--- a/gdb/score-tdep.c
+++ b/gdb/score-tdep.c
@@ -22,7 +22,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "defs.h"
-#include "gdb_assert.h"
#include "inferior.h"
#include "symtab.h"
#include "objfiles.h"
diff --git a/gdb/ser-base.c b/gdb/ser-base.c
index b8f7fd2..5f677a9 100644
--- a/gdb/ser-base.c
+++ b/gdb/ser-base.c
@@ -24,7 +24,6 @@

#include "gdb_select.h"
#include <string.h>
-#include "gdb_assert.h"
#include <sys/time.h>
#ifdef USE_WIN32API
#include <winsock2.h>
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c
index a6469ea..ab4de3b 100644
--- a/gdb/ser-mingw.c
+++ b/gdb/ser-mingw.c
@@ -29,7 +29,6 @@
#include <unistd.h>
#include <sys/types.h>

-#include "gdb_assert.h"
#include <string.h>

#include "command.h"
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 0c1fbed..3290566 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -33,7 +33,6 @@
#include "dis-asm.h"
#include "inferior.h"
#include <string.h>
-#include "gdb_assert.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "regcache.h"
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index 9f115e0..b2dd3a4 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -33,7 +33,6 @@
#include "dis-asm.h"
#include "inferior.h"
#include <string.h>
-#include "gdb_assert.h"
#include "arch-utils.h"
#include "regcache.h"
#include "osabi.h"
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 03b51d5..8782c81 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -30,8 +30,6 @@
#include "gdbthread.h"
#include "gdb_bfd.h"

-#include "gdb_assert.h"
-
#include "solist.h"
#include "solib.h"
#include "solib-svr4.h"
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index 1c574b5..b657b7f 100644
--- a/gdb/solib-spu.c
+++ b/gdb/solib-spu.c
@@ -22,7 +22,6 @@
#include "solib-spu.h"
#include "gdbcore.h"
#include <string.h>
-#include "gdb_assert.h"
#include <sys/stat.h>
#include "arch-utils.h"
#include "bfd.h"
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index af9d648..0e9f5a3 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -35,8 +35,6 @@
#include "gdbthread.h"
#include "observer.h"

-#include "gdb_assert.h"
-
#include "solist.h"
#include "solib.h"
#include "solib-svr4.h"
diff --git a/gdb/source.c b/gdb/source.c
index 14b1f71..5a44bb7 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -26,7 +26,6 @@
#include "gdbcmd.h"
#include "frame.h"
#include "value.h"
-#include "gdb_assert.h"
#include "filestuff.h"

#include <sys/types.h>
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index 22e1e5f..e83e7d1 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -22,7 +22,6 @@
#include "regcache.h"
#include "target.h"

-#include "gdb_assert.h"
#include <signal.h>
#include <string.h>
#include <sys/ptrace.h>
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c
index 4452c00..c23ce2b 100644
--- a/gdb/sparc-sol2-tdep.c
+++ b/gdb/sparc-sol2-tdep.c
@@ -28,7 +28,6 @@
#include "target.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sol2-tdep.h"
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index e7b3090..b075437 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -35,7 +35,6 @@
#include "target.h"
#include "value.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sparc-tdep.h"
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c
index 507838a..23e943d 100644
--- a/gdb/sparc64-sol2-tdep.c
+++ b/gdb/sparc64-sol2-tdep.c
@@ -26,8 +26,6 @@
#include "osabi.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
-
#include "sol2-tdep.h"
#include "sparc64-tdep.h"
#include "solib-svr4.h"
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c
index 40931d6..abb7350 100644
--- a/gdb/sparc64-tdep.c
+++ b/gdb/sparc64-tdep.c
@@ -34,7 +34,6 @@
#include "target.h"
#include "value.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sparc64-tdep.h"
diff --git a/gdb/sparc64fbsd-tdep.c b/gdb/sparc64fbsd-tdep.c
index fde7815..453f2b4 100644
--- a/gdb/sparc64fbsd-tdep.c
+++ b/gdb/sparc64fbsd-tdep.c
@@ -27,7 +27,6 @@
#include "target.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sparc64-tdep.h"
diff --git a/gdb/sparc64nbsd-tdep.c b/gdb/sparc64nbsd-tdep.c
index b67c762..0d2a4e0 100644
--- a/gdb/sparc64nbsd-tdep.c
+++ b/gdb/sparc64nbsd-tdep.c
@@ -30,7 +30,6 @@
#include "solib-svr4.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sparc64-tdep.h"
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index 8cc04f7..9151151 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -28,8 +28,6 @@
#include "objfiles.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
-
#include "obsd-tdep.h"
#include "sparc64-tdep.h"
#include "solib-svr4.h"
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c
index b267842..7c4d6ee 100644
--- a/gdb/sparcnbsd-tdep.c
+++ b/gdb/sparcnbsd-tdep.c
@@ -30,7 +30,6 @@
#include "symtab.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
#include <string.h>

#include "sparc-tdep.h"
diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c
index 10f91fe..89365c4 100644
--- a/gdb/sparcobsd-tdep.c
+++ b/gdb/sparcobsd-tdep.c
@@ -27,8 +27,6 @@
#include "symtab.h"
#include "trad-frame.h"

-#include "gdb_assert.h"
-
#include "obsd-tdep.h"
#include "sparc-tdep.h"
#include "solib-svr4.h"
diff --git a/gdb/spu-multiarch.c b/gdb/spu-multiarch.c
index e3285d0..2bce90e 100644
--- a/gdb/spu-multiarch.c
+++ b/gdb/spu-multiarch.c
@@ -22,7 +22,6 @@
#include "gdbcore.h"
#include "gdbcmd.h"
#include <string.h>
-#include "gdb_assert.h"
#include "arch-utils.h"
#include "observer.h"
#include "inferior.h"
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index 3980fe7..6b46df1 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -25,7 +25,6 @@
#include "gdbcmd.h"
#include "gdbcore.h"
#include <string.h>
-#include "gdb_assert.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 592350e..9a25b0c 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -44,8 +44,6 @@
#include "doublest.h"
#include "cp-abi.h"
#include "cp-support.h"
-#include "gdb_assert.h"
-
#include <ctype.h>

/* Ask stabsread.h to define the vars it normally declares `extern'. */
diff --git a/gdb/stack.c b/gdb/stack.c
index 3ca4db0..9243f69 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -49,7 +49,6 @@
#include "cli/cli-utils.h"
#include "objfiles.h"

-#include "gdb_assert.h"
#include <ctype.h>
#include <string.h>

diff --git a/gdb/symfile.c b/gdb/symfile.c
index 42707ac..921c3b8 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -45,7 +45,6 @@
#include "bcache.h"
#include "hashtab.h"
#include "readline/readline.h"
-#include "gdb_assert.h"
#include "block.h"
#include "observer.h"
#include "exec.h"
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 09f3114..e64d0df 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -56,7 +56,6 @@
#include "cp-abi.h"
#include "cp-support.h"
#include "observer.h"
-#include "gdb_assert.h"
#include "solist.h"
#include "macrotab.h"
#include "macroscope.h"
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c
index 6b3389a..4570647 100644
--- a/gdb/target-descriptions.c
+++ b/gdb/target-descriptions.c
@@ -31,7 +31,6 @@
#include "xml-tdesc.h"
#include "osabi.h"

-#include "gdb_assert.h"
#include "gdb_obstack.h"
#include "hashtab.h"
#include "inferior.h"
diff --git a/gdb/target-memory.c b/gdb/target-memory.c
index 583d337..c545909 100644
--- a/gdb/target-memory.c
+++ b/gdb/target-memory.c
@@ -23,8 +23,6 @@
#include "target.h"
#include "memory-map.h"

-#include "gdb_assert.h"
-
#include <sys/time.h>

static int
diff --git a/gdb/target.c b/gdb/target.c
index d9b471b..e08a098 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -34,7 +34,6 @@
#include "dcache.h"
#include <signal.h>
#include "regcache.h"
-#include "gdb_assert.h"
#include "gdbcore.h"
#include "exceptions.h"
#include "target-descriptions.h"
diff --git a/gdb/tic6x-linux-tdep.c b/gdb/tic6x-linux-tdep.c
index 1e1aa22..0081769 100644
--- a/gdb/tic6x-linux-tdep.c
+++ b/gdb/tic6x-linux-tdep.c
@@ -24,7 +24,6 @@
#include "tic6x-tdep.h"
#include "trad-frame.h"
#include "tramp-frame.h"
-#include "gdb_assert.h"
#include "elf-bfd.h"
#include "elf/tic6x.h"

diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c
index 96fa83e..ae3138e 100644
--- a/gdb/tic6x-tdep.c
+++ b/gdb/tic6x-tdep.c
@@ -44,7 +44,6 @@
#include "linux-tdep.h"
#include "solib.h"
#include "objfiles.h"
-#include "gdb_assert.h"
#include "osabi.h"
#include "tic6x-tdep.h"
#include "language.h"
diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c
index a00f386..80a5e57 100644
--- a/gdb/tilegx-linux-nat.c
+++ b/gdb/tilegx-linux-nat.c
@@ -25,7 +25,6 @@

#include <sys/ptrace.h>

-#include "gdb_assert.h"
#include <string.h>

#include <sys/procfs.h>
diff --git a/gdb/tilegx-tdep.c b/gdb/tilegx-tdep.c
index d2aae95..01742e8 100644
--- a/gdb/tilegx-tdep.c
+++ b/gdb/tilegx-tdep.c
@@ -31,7 +31,6 @@
#include "dis-asm.h"
#include "inferior.h"
#include <string.h>
-#include "gdb_assert.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "regcache.h"
diff --git a/gdb/top.c b/gdb/top.c
index 19c88f9..319324f 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -42,7 +42,6 @@
#include "version.h"
#include "serial.h"
#include "doublest.h"
-#include "gdb_assert.h"
#include "main.h"
#include "event-loop.h"
#include "gdbthread.h"
diff --git a/gdb/tramp-frame.c b/gdb/tramp-frame.c
index daa804c..0fd6ddc 100644
--- a/gdb/tramp-frame.c
+++ b/gdb/tramp-frame.c
@@ -26,7 +26,6 @@
#include "target.h"
#include "trad-frame.h"
#include "frame-base.h"
-#include "gdb_assert.h"

struct frame_data
{
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 44f76a2..ff782f6 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -25,7 +25,6 @@
#include "cli-out.h"
#include "tui.h"
#include <string.h>
-#include "gdb_assert.h"

struct tui_ui_out_data
{
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index c641e18..0625206 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -40,7 +40,6 @@

#include <string.h>
#include "gdb_curses.h"
-#include "gdb_assert.h"

/* Function to display the "main" routine. */
void
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index 63cbc6e..205af9c 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -25,7 +25,6 @@
#include "expression.h" /* For language.h */
#include "language.h"
#include "ui-out.h"
-#include "gdb_assert.h"

/* table header structures */

diff --git a/gdb/user-regs.c b/gdb/user-regs.c
index db0cac8..f4ec54a 100644
--- a/gdb/user-regs.c
+++ b/gdb/user-regs.c
@@ -23,7 +23,6 @@
#include "user-regs.h"
#include "gdbtypes.h"
#include <string.h>
-#include "gdb_assert.h"
#include "frame.h"

/* A table of user registers.
diff --git a/gdb/utils.c b/gdb/utils.c
index 8af8827..1a71a58 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -19,7 +19,6 @@

#include "defs.h"
#include "dyn-string.h"
-#include "gdb_assert.h"
#include <ctype.h>
#include <string.h>
#include "gdb_wait.h"
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 27740ca..3e4447a 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -26,7 +26,6 @@
#include "gdbtypes.h"
#include "inferior.h"
#include <string.h>
-#include "gdb_assert.h"
#include "gdbcore.h"
#include "arch-utils.h"
#include "regcache.h"
diff --git a/gdb/valops.c b/gdb/valops.c
index 4164d63..6cd66c7 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -38,7 +38,6 @@
#include "tracepoint.h"
#include <errno.h>
#include <string.h>
-#include "gdb_assert.h"
#include "observer.h"
#include "objfiles.h"
#include "exceptions.h"
diff --git a/gdb/value.c b/gdb/value.c
index 41ca250..90e4bdc 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -30,7 +30,6 @@
#include "language.h"
#include "demangle.h"
#include "doublest.h"
-#include "gdb_assert.h"
#include "regcache.h"
#include "block.h"
#include "dfp.h"
diff --git a/gdb/varobj.c b/gdb/varobj.c
index cf1b8a8..d350234 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -25,7 +25,6 @@
#include "block.h"
#include "valprint.h"

-#include "gdb_assert.h"
#include <string.h>
#include "gdb_regex.h"

diff --git a/gdb/vax-nat.c b/gdb/vax-nat.c
index 9d4caf5..c39ae29 100644
--- a/gdb/vax-nat.c
+++ b/gdb/vax-nat.c
@@ -20,7 +20,6 @@
#include "defs.h"
#include "inferior.h"

-#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/user.h>
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index 31d4ae6..3824468 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -28,8 +28,6 @@

#include "filenames.h"

-#include "gdb_assert.h"
-
#ifndef HAVE_LIBEXPAT

/* Dummy functions to indicate that there's no support for fetching
diff --git a/gdb/xml-tdesc.c b/gdb/xml-tdesc.c
index 9dcfee4..6e85ebd 100644
--- a/gdb/xml-tdesc.c
+++ b/gdb/xml-tdesc.c
@@ -28,8 +28,6 @@

#include "filenames.h"

-#include "gdb_assert.h"
-
#if !defined(HAVE_LIBEXPAT)

/* Parse DOCUMENT into a target description. Or don't, since we don't have
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index b2686cb..2f38739 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -30,7 +30,6 @@
#include "dis-asm.h"
#include "inferior.h"
#include <string.h>
-#include "gdb_assert.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "regcache.h"
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
index 9340c62..945f379 100644
--- a/gdb/xtensa-linux-nat.c
+++ b/gdb/xtensa-linux-nat.c
@@ -23,7 +23,6 @@
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
-#include "gdb_assert.h"
#include "target.h"
#include "linux-nat.h"

diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 432a9de..24ec5f0 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -47,7 +47,6 @@

#include "command.h"
#include "gdbcmd.h"
-#include "gdb_assert.h"

#include "xtensa-isa.h"
#include "xtensa-tdep.h"
--
1.7.1