From 51db5742a9dfd4d6b0ca51856428029f4f8cbefc Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 19 Sep 2003 06:14:27 +0000 Subject: [PATCH] * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a hard-coded constant. Use the proper machine name instead. --- gdb/ChangeLog | 5 +++++ gdb/hppa-hpux-tdep.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e535494ac8..50d2cf21e5d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-09-18 J. Brobecker + + * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a + hard-coded constant. Use the proper machine name instead. + 2003-09-17 Andrew Cagney * sparc-tdep.c (legacy_register_name): Delete function. diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index 62271ffbc14..f9757c97699 100644 --- a/gdb/hppa-hpux-tdep.c +++ b/gdb/hppa-hpux-tdep.c @@ -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); } -- 2.30.2