* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a

hard-coded constant. Use the proper machine name instead.
This commit is contained in:
Joel Brobecker 2003-09-19 06:14:27 +00:00
parent 6726e1ea5d
commit 51db5742a9
2 changed files with 6 additions and 4 deletions

View 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> 2003-09-17 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (legacy_register_name): Delete function. * sparc-tdep.c (legacy_register_name): Delete function.

View file

@ -171,9 +171,6 @@ _initialize_hppa_hpux_tdep (void)
{ {
gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_HPUX_SOM, gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_HPUX_SOM,
hppa_hpux_som_init_abi); hppa_hpux_som_init_abi);
/* FIXME brobecker 2003-08-13: The machine number 25 corresponds to gdbarch_register_osabi (bfd_arch_hppa, bfd_mach_hppa20w, GDB_OSABI_HPUX_ELF,
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,
hppa_hpux_elf_init_abi); hppa_hpux_elf_init_abi);
} }