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 | 42cf1509a7dbf155ee0007fae9cdc7a617a26700 (patch) | |
tree | 4056e9c99b2b80f626d9ed6dc0e336d07e5d8439 /gdb/arm-tdep.c | |
parent | 5c877b72341207b8a0d0319dc99ff79944e2871a (diff) | |
download | gdb-42cf1509a7dbf155ee0007fae9cdc7a617a26700.zip gdb-42cf1509a7dbf155ee0007fae9cdc7a617a26700.tar.gz gdb-42cf1509a7dbf155ee0007fae9cdc7a617a26700.tar.bz2 |
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/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 3f2f13c..e6951f8 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3024,8 +3024,7 @@ _initialize_arm_tdep (void) int numregs, i, j; static char *helptext; - if (GDB_MULTI_ARCH) - gdbarch_register (bfd_arch_arm, arm_gdbarch_init, arm_dump_tdep); + gdbarch_register (bfd_arch_arm, arm_gdbarch_init, arm_dump_tdep); /* Register an ELF OS ABI sniffer for ARM binaries. */ gdbarch_register_osabi_sniffer (bfd_arch_arm, |