Automatic date update in version.in
[binutils-gdb.git] / gdb / i386-bsd-tdep.c
index 607e4d8b6ba5ae3b93bd2150c5f1ddcb33896664..b38f8d05887dc9739eeac684e82bf54e0db337df 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for i386 BSD's.
 
-   Copyright (C) 2001-2019 Free Software Foundation, Inc.
+   Copyright (C) 2001-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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;