* arch-utils.c (gdbarch_info_init): Set osabi to
authorDaniel Jacobowitz <drow@false.org>
Sat, 4 Jan 2003 23:38:46 +0000 (23:38 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 4 Jan 2003 23:38:46 +0000 (23:38 +0000)
commit4be87837a23001df36ca5a4171eb01dec22856e1
tree74f1de6f45a23352eaf4015335241dce25043582
parenta881cf8e6bbb50470b7286758de18ea3dc3e5b82
* arch-utils.c (gdbarch_info_init): Set osabi to
GDB_OSABI_UNINITIALIZED.
* gdbarch.sh: Add osabi to struct gdbarch and to struct
gdbarch_info.  Include "osabi.h" in gdbarch.c.  Check osabi
in gdbarch_list_lookup_by_info and in gdbarch_update_p.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
there's no BFD.
(gdbarch_init_osabi): Remove osabi argument; use info.osabi.
* osabi.h (enum gdb_osabi): Move to defs.h.
(gdbarch_init_osabi): Update prototype.
* defs.h (enum gdb_osabi): Moved here.
* Makefile.in: Update dependencies.

Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax
ports to match.
43 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/alpha-linux-tdep.c
gdb/alpha-osf1-tdep.c
gdb/alpha-tdep.c
gdb/alpha-tdep.h
gdb/alphafbsd-tdep.c
gdb/alphanbsd-tdep.c
gdb/arch-utils.c
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/armnbsd-tdep.c
gdb/defs.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/hppa-tdep.c
gdb/i386-linux-tdep.c
gdb/i386-sol2-tdep.c
gdb/i386-tdep.c
gdb/i386-tdep.h
gdb/i386bsd-tdep.c
gdb/i386gnu-tdep.c
gdb/i386ly-tdep.c
gdb/i386nbsd-tdep.c
gdb/i386obsd-tdep.c
gdb/mips-tdep.c
gdb/ns32k-tdep.c
gdb/ns32k-tdep.h
gdb/ns32knbsd-tdep.c
gdb/osabi.c
gdb/osabi.h
gdb/ppc-linux-tdep.c
gdb/ppc-tdep.h
gdb/ppcnbsd-tdep.c
gdb/rs6000-tdep.c
gdb/sh-tdep.c
gdb/sh-tdep.h
gdb/shnbsd-tdep.c
gdb/sparc-tdep.c
gdb/vax-tdep.c
gdb/vax-tdep.h