aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-bsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hppa-bsd-tdep.c')
-rw-r--r--gdb/hppa-bsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-bsd-tdep.c b/gdb/hppa-bsd-tdep.c
index c68aaf1..f4567b4 100644
--- a/gdb/hppa-bsd-tdep.c
+++ b/gdb/hppa-bsd-tdep.c
@@ -118,7 +118,7 @@ hppabsd_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum,
void
hppabsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ hppa_gdbarch_tdep *tdep = (hppa_gdbarch_tdep *) gdbarch_tdep (gdbarch);
/* OpenBSD and NetBSD have a 64-bit 'long double'. */
set_gdbarch_long_double_bit (gdbarch, 64);