OSDN Git Service

* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
authorbrobecke <brobecke>
Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)
committerbrobecke <brobecke>
Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)
        hard-coded constant. Use the proper machine name instead.

gdb/ChangeLog
gdb/hppa-hpux-tdep.c

index 8e53549..50d2cf2 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-18  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
+       hard-coded constant. Use the proper machine name instead.
+
 2003-09-17  Andrew Cagney  <cagney@redhat.com>
 
        * sparc-tdep.c (legacy_register_name): Delete function.
index 62271ff..f9757c9 100644 (file)
@@ -171,9 +171,6 @@ _initialize_hppa_hpux_tdep (void)
 {
   gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_HPUX_SOM,
                           hppa_hpux_som_init_abi);
-  /* FIXME brobecker 2003-08-13: The machine number 25 corresponds to
-     the hppa2.0w bfd arch_info. A #define should probably be defined
-     in bfd, instead of using this hard-coded number.  */
-  gdbarch_register_osabi (bfd_arch_hppa, 25, GDB_OSABI_HPUX_ELF,
+  gdbarch_register_osabi (bfd_arch_hppa, bfd_mach_hppa20w, GDB_OSABI_HPUX_ELF,
                           hppa_hpux_elf_init_abi);
 }