* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
authorJoel Brobecker <brobecker@gnat.com>
Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)
committerJoel Brobecker <brobecker@gnat.com>
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 8e535494ac85d72917112333a8ba04778e52a398..50d2cf21e5d007672f4a4498a57da4879195a0a2 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 62271ffbc149beb98f8c5523354f6cef70db683f..f9757c97699012191d2e0c3241c75cf5409e8729 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);
 }