forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Target-dependent code for GDB, the GNU debugger.
|
||||
Copyright 2001, 2002
|
||||
Copyright 2001, 2002, 2003
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@@ -22,8 +22,6 @@
|
||||
#ifndef I386_TDEP_H
|
||||
#define I386_TDEP_H
|
||||
|
||||
#include "osabi.h"
|
||||
|
||||
/* GDB's i386 target supports both the 32-bit Intel Architecture
|
||||
(IA-32) and the 64-bit AMD x86-64 architecture. Internally it uses
|
||||
a similar register layout for both.
|
||||
@@ -53,9 +51,6 @@ enum struct_return
|
||||
/* i386 architecture specific information. */
|
||||
struct gdbarch_tdep
|
||||
{
|
||||
/* ABI. */
|
||||
enum gdb_osabi osabi;
|
||||
|
||||
/* Number of SSE registers. */
|
||||
int num_xmm_regs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user