diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-04-16 21:08:21 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-04-16 21:08:21 +0000 |
commit | 0ebee7b859d937c52e06b6f6cbb31bf13c577a55 (patch) | |
tree | f0910cfaa3b3abd08ec70d8b7fb26d53e88cd97f /gdb/ppcobsd-tdep.c | |
parent | 596d049361009e1f6c271b83cfe2c63fa01c9e04 (diff) | |
download | gdb-0ebee7b859d937c52e06b6f6cbb31bf13c577a55.tar.gz |
* ppcobsd-tdep.c: Fix typo in comment.
(_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
bfd_arch_rs6000 too.
Diffstat (limited to 'gdb/ppcobsd-tdep.c')
-rw-r--r-- | gdb/ppcobsd-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c index 82e23e66e0f..94cea38b788 100644 --- a/gdb/ppcobsd-tdep.c +++ b/gdb/ppcobsd-tdep.c @@ -91,7 +91,7 @@ ppcobsd_collect_gregset (const struct regset *regset, ppc_collect_fpregset (regset, regcache, regnum, gregs, len); } -/* OpenBS/powerpc register set. */ +/* OpenBSD/powerpc register set. */ struct regset ppcobsd_gregset = { @@ -164,8 +164,8 @@ static const struct tramp_frame ppcobsd_sigtramp = }, ppcobsd_sigtramp_cache_init }; - + static void ppcobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -204,6 +204,8 @@ _initialize_ppcobsd_tdep (void) gdbarch_register_osabi_sniffer (bfd_arch_powerpc, bfd_target_unknown_flavour, ppcobsd_core_osabi_sniffer); + gdbarch_register_osabi (bfd_arch_rs6000, 0, GDB_OSABI_OPENBSD_ELF, + ppcobsd_init_abi); gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_OPENBSD_ELF, ppcobsd_init_abi); |