aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-bsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-bsd-tdep.c')
-rw-r--r--gdb/i386-bsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-bsd-tdep.c b/gdb/i386-bsd-tdep.c
index fb5fcaa..7bddc7a 100644
--- a/gdb/i386-bsd-tdep.c
+++ b/gdb/i386-bsd-tdep.c
@@ -74,7 +74,7 @@ int i386bsd_sc_reg_offset[] =
void
i386bsd_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);
tdep->jb_pc_offset = 0;