diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-04-22 20:29:14 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-04-22 20:29:14 +0000 |
commit | a86c5ab248ed35b59d02a82ba1d06e3a7b8c7328 (patch) | |
tree | 7a1d596ea89f8ebc7d7c8b614b5a8bbf34c531be /gdb/ppcobsd-tdep.c | |
parent | 84b08ed9482caaf4bf22bbd7c2ea80c7cf19d632 (diff) | |
download | gdb-a86c5ab248ed35b59d02a82ba1d06e3a7b8c7328.zip gdb-a86c5ab248ed35b59d02a82ba1d06e3a7b8c7328.tar.gz gdb-a86c5ab248ed35b59d02a82ba1d06e3a7b8c7328.tar.bz2 |
* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
Diffstat (limited to 'gdb/ppcobsd-tdep.c')
-rw-r--r-- | gdb/ppcobsd-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c index 67ac1a7..c2d542e 100644 --- a/gdb/ppcobsd-tdep.c +++ b/gdb/ppcobsd-tdep.c @@ -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); |