summaryrefslogtreecommitdiff
path: root/gdb/vax-tdep.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-04 23:38:46 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-04 23:38:46 +0000
commit4be87837a23001df36ca5a4171eb01dec22856e1 (patch)
tree74f1de6f45a23352eaf4015335241dce25043582 /gdb/vax-tdep.h
parenta881cf8e6bbb50470b7286758de18ea3dc3e5b82 (diff)
downloadbinutils-gdb-4be87837a23001df36ca5a4171eb01dec22856e1.tar.gz
* 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.
Diffstat (limited to 'gdb/vax-tdep.h')
-rw-r--r--gdb/vax-tdep.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/vax-tdep.h b/gdb/vax-tdep.h
index ccabdd53557..7529e57d95e 100644
--- a/gdb/vax-tdep.h
+++ b/gdb/vax-tdep.h
@@ -1,5 +1,5 @@
/* Common target dependent code for GDB on VAX systems.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,8 +21,6 @@
#ifndef VAX_TDEP_H
#define VAX_TDEP_H
-#include "osabi.h"
-
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the
real way to know how big a register is. */
@@ -54,10 +52,4 @@
#define VAX_PC_REGNUM 15 /* Contains program counter */
#define VAX_PS_REGNUM 16 /* Contains processor status */
-/* Target-dependent structure in gdbarch. */
-struct gdbarch_tdep
-{
- enum gdb_osabi osabi; /* OS/ABI of inferior. */
-};
-
#endif /* VAX_TDEP_H */