aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips64obsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-02-27 14:07:10 +0100
committerMark Kettenis <kettenis@gnu.org>2014-02-27 14:07:10 +0100
commit3cdd631f17c822cd58f2fc9c742dc60ed683b5c1 (patch)
treeb3761647e583ffa54809b744d90dd23d11a4408a /gdb/mips64obsd-tdep.c
parentbee30a640c950b86019bceb4a8dca7a94ef11600 (diff)
downloadgdb-3cdd631f17c822cd58f2fc9c742dc60ed683b5c1.zip
gdb-3cdd631f17c822cd58f2fc9c742dc60ed683b5c1.tar.gz
gdb-3cdd631f17c822cd58f2fc9c742dc60ed683b5c1.tar.bz2
Call common OpenBSD ABI init code on OpenBSD/mips64.
* mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to gdb_target_obs.
Diffstat (limited to 'gdb/mips64obsd-tdep.c')
-rw-r--r--gdb/mips64obsd-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/mips64obsd-tdep.c b/gdb/mips64obsd-tdep.c
index 92b6701..62853ce 100644
--- a/gdb/mips64obsd-tdep.c
+++ b/gdb/mips64obsd-tdep.c
@@ -28,6 +28,7 @@
#include "gdb_assert.h"
#include <string.h>
+#include "obsd-tdep.h"
#include "mips-tdep.h"
#include "solib-svr4.h"
@@ -155,6 +156,8 @@ mips64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_long_double_bit (gdbarch, 128);
set_gdbarch_long_double_format (gdbarch, floatformats_mips64_quad);
+ obsd_init_abi(info, gdbarch);
+
/* OpenBSD/mips64 has SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);