* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.

This commit is contained in:
Mark Kettenis 2005-04-22 20:29:14 +00:00
parent 84b08ed948
commit a86c5ab248
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2005-04-22 Mark Kettenis <kettenis@gnu.org>
* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
(LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove

View file

@ -174,6 +174,9 @@ ppcobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_long_double_bit (gdbarch, 64);
set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big);
/* OpenBSD currently uses a broken GCC. */
set_gdbarch_return_value (gdbarch, ppc_sysv_abi_broken_return_value);
/* OpenBSD uses SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_ilp32_fetch_link_map_offsets);