diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-08-14 00:23:51 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-08-14 00:23:51 +0000 |
commit | 37ba2569e35857a07c34be69d090cd13d83b8b5d (patch) | |
tree | d19edbefa739f872eddc6b6784a688a7f92b66c8 /gdb/hppa-hpux-tdep.c | |
parent | ef417f4de39889e3fb6bc30d41e2efd439d200e6 (diff) | |
download | gdb-37ba2569e35857a07c34be69d090cd13d83b8b5d.zip gdb-37ba2569e35857a07c34be69d090cd13d83b8b5d.tar.gz gdb-37ba2569e35857a07c34be69d090cd13d83b8b5d.tar.bz2 |
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
routine.
Diffstat (limited to 'gdb/hppa-hpux-tdep.c')
-rw-r--r-- | gdb/hppa-hpux-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index 5d26c7c..e7849bf 100644 --- a/gdb/hppa-hpux-tdep.c +++ b/gdb/hppa-hpux-tdep.c @@ -118,6 +118,9 @@ _initialize_hppa_hpux_tdep (void) { gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_HPUX_SOM, hppa_hpux_som_init_abi); - gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_HPUX_ELF, + /* 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, hppa_hpux_elf_init_abi); } |