X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fi386-go32-tdep.c;h=15ac38dc12f6d7f6d3b87d3bc605e8cec021d72f;hb=09cb5e2312e299bd3e362f8acb070560a06d156a;hp=df82c90e8661b4c04059673ea944795f32bc226b;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=binutils-gdb.git diff --git a/gdb/i386-go32-tdep.c b/gdb/i386-go32-tdep.c index df82c90e866..15ac38dc12f 100644 --- a/gdb/i386-go32-tdep.c +++ b/gdb/i386-go32-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for DJGPP/i386. - Copyright (C) 1988-2018 Free Software Foundation, Inc. + Copyright (C) 1988-2022 Free Software Foundation, Inc. This file is part of GDB. @@ -19,14 +19,14 @@ #include "defs.h" #include "i386-tdep.h" -#include "x86-xstate.h" +#include "gdbsupport/x86-xstate.h" #include "target-descriptions.h" #include "osabi.h" static void i386_go32_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); /* DJGPP doesn't have any special frames for signal handlers. */ tdep->sigtramp_p = NULL; @@ -35,7 +35,7 @@ i386_go32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* DJGPP does not support the SSE registers. */ if (!tdesc_has_registers (info.target_desc)) - tdep->tdesc = i386_target_description (X86_XSTATE_X87_MASK); + tdep->tdesc = i386_target_description (X86_XSTATE_X87_MASK, false); /* Native compiler is GCC, which uses the SVR4 register numbering even in COFF and STABS. See the comment in i386_gdbarch_init, @@ -62,6 +62,7 @@ i386_coff_osabi_sniffer (bfd *abfd) } +void _initialize_i386_go32_tdep (); void _initialize_i386_go32_tdep () {