diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-24 11:47:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-24 11:47:18 +0000 |
commit | fc406511e1f874f33e38c92ace30aed1734f6f60 (patch) | |
tree | f66e434823a92bc791b8c6394f2f308c12653540 /gdb/osabi.c | |
parent | d1bd022a40fcc9f8c4afd59b11e21f4e9bf2979c (diff) | |
download | gdb-fc406511e1f874f33e38c92ace30aed1734f6f60.tar.gz |
2003-08-24 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (_initialize_arm_tdep): Simplify by assuming
GDB_MULTI_ARCH is always non-zero.
* osabi.c (_initialize_gdb_osabi): Ditto.
(gdbarch_init_osabi): Ditto.
* sparc-tdep.c: Ditto for #if code.
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index 252129ba7f2..dbba578429d 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -319,17 +319,13 @@ gdbarch_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch) } } - /* We assume that if GDB_MULTI_ARCH is less than GDB_MULTI_ARCH_TM - that an ABI variant can be supported by overriding definitions in - the tm-file. */ - if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) - fprintf_filtered - (gdb_stderr, - "A handler for the OS ABI \"%s\" is not built into this " - "configuration of GDB. " - "Attempting to continue with the default %s settings", - gdbarch_osabi_name (info.osabi), - bfd_printable_arch_mach (arch_info->arch, arch_info->mach)); + fprintf_filtered + (gdb_stderr, + "A handler for the OS ABI \"%s\" is not built into this " + "configuration of GDB. " + "Attempting to continue with the default %s settings", + gdbarch_osabi_name (info.osabi), + bfd_printable_arch_mach (arch_info->arch, arch_info->mach)); } @@ -571,8 +567,7 @@ _initialize_gdb_osabi (void) bfd_target_elf_flavour, generic_elf_osabi_sniffer); - if (!GDB_MULTI_ARCH) - return; + return; /* Register the "set osabi" command. */ c = add_set_enum_cmd ("osabi", class_support, gdb_osabi_available_names, |