Include gdb_assert.h in common-defs.h
authorGary Benson <gbenson@redhat.com>
Tue, 29 Jul 2014 13:47:21 +0000 (14:47 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:45 +0000 (09:06 +0100)
commitdccbb60975cdbcd6a906a79d0c4308b040fdac1b
treed82a45b7de8729636693abc64fec71382c41b314
parente76df0d08686820dee6d6f440431d962c7631bd3
Include gdb_assert.h in common-defs.h

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

gdb/
2014-08-07  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-08-07  Gary Benson  <gbenson@redhat.com>

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