aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-09-19 06:14:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-09-19 06:14:27 +0000
commit51db5742a9dfd4d6b0ca51856428029f4f8cbefc (patch)
tree4673b9e40ccd96f0a96720da0ed790bd3840ee4e /gdb
parent6726e1ea5d8204965db2e45132a383ab65e19347 (diff)
downloadgdb-51db5742a9dfd4d6b0ca51856428029f4f8cbefc.zip
gdb-51db5742a9dfd4d6b0ca51856428029f4f8cbefc.tar.gz
gdb-51db5742a9dfd4d6b0ca51856428029f4f8cbefc.tar.bz2
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
hard-coded constant. Use the proper machine name instead.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/hppa-hpux-tdep.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8e53549..50d2cf2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c
index 62271ff..f9757c9 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);
}