summaryrefslogtreecommitdiff
path: root/gdb/ns32k-tdep.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-01-04 23:38:46 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-01-04 23:38:46 +0000
commit558e6e64057df0d0d7f57f3c547585ef4cd02a0b (patch)
tree4958a2578cfb4a1396f130859ae9fd429471969f /gdb/ns32k-tdep.h
parente48d53e24d65c826405158b0ec495107efe36e66 (diff)
downloadgdb-558e6e64057df0d0d7f57f3c547585ef4cd02a0b.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/ns32k-tdep.h')
-rw-r--r--gdb/ns32k-tdep.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/ns32k-tdep.h b/gdb/ns32k-tdep.h
index c0463247f47..c2dc71aab2e 100644
--- a/gdb/ns32k-tdep.h
+++ b/gdb/ns32k-tdep.h
@@ -1,5 +1,5 @@
/* Target-dependent definitions for GDB on NS32000 systems.
- Copyright 1987, 1989, 1991, 1993, 1994, 1998, 1999, 2000, 2001, 2002
+ Copyright 1987, 1989, 1991, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GDB.
@@ -22,8 +22,6 @@
#ifndef NS32K_TDEP_H
#define NS32K_TDEP_H
-#include "osabi.h"
-
/* Register numbers of various important registers.
Note that some of these values are "real" register numbers,
and correspond to the general registers of the machine,
@@ -55,11 +53,6 @@
#define NS32K_MAX_REGISTER_RAW_SIZE 8
#define NS32K_MAX_REGISTER_VIRTUAL_SIZE 8
-struct gdbarch_tdep
-{
- enum gdb_osabi osabi;
-};
-
void ns32k_gdbarch_init_32082 (struct gdbarch *);
void ns32k_gdbarch_init_32382 (struct gdbarch *);