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 | 5d6210f04389cc54d1937e309ea48e979a352e54 (patch) | |
tree | 6d3a4fd03c915b8bfc287a85d319564e2ac2e12e | |
parent | 6b5e8c0119c6441a727293a8780f77526f2aab15 (diff) | |
download | gdb-5d6210f04389cc54d1937e309ea48e979a352e54.zip gdb-5d6210f04389cc54d1937e309ea48e979a352e54.tar.gz gdb-5d6210f04389cc54d1937e309ea48e979a352e54.tar.bz2 |
* ppcobsd-tdep.c: Fix typo in comment.
(_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
bfd_arch_rs6000 too.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/ppcobsd-tdep.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 60fd193..10909eb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-04-16 Mark Kettenis <kettenis@gnu.org> + + * ppcobsd-tdep.c: Fix typo in comment. + (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for + bfd_arch_rs6000 too. + 2005-04-15 Kevin Buettner <kevinb@redhat.com> * remote.c (remote_get_thread_local_address): Throw a more diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c index 82e23e6..94cea38 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); |