aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-obsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparc64-obsd-tdep.c')
-rw-r--r--gdb/sparc64-obsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc64-obsd-tdep.c b/gdb/sparc64-obsd-tdep.c
index 033779e..0931b23 100644
--- a/gdb/sparc64-obsd-tdep.c
+++ b/gdb/sparc64-obsd-tdep.c
@@ -423,7 +423,7 @@ static const struct regset sparc64obsd_fpregset =
static void
sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ sparc_gdbarch_tdep *tdep = (sparc_gdbarch_tdep *) gdbarch_tdep (gdbarch);
tdep->gregset = &sparc64obsd_gregset;
tdep->sizeof_gregset = 288;