aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-obsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64-obsd-tdep.c')
-rw-r--r--gdb/amd64-obsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-obsd-tdep.c b/gdb/amd64-obsd-tdep.c
index 070f196..0da1dbf 100644
--- a/gdb/amd64-obsd-tdep.c
+++ b/gdb/amd64-obsd-tdep.c
@@ -420,7 +420,7 @@ static const struct frame_unwind amd64obsd_trapframe_unwind =
static void
amd64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ i386_gdbarch_tdep *tdep = (i386_gdbarch_tdep *) gdbarch_tdep (gdbarch);
amd64_init_abi (info, gdbarch,
amd64_target_description (X86_XSTATE_SSE_MASK, true));