X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fnds32-tdep.h;h=e68017b46670a9afddd1156be6df710eaf751a38;hb=206977b2edecbe086beb23a32c9c114e2d5af28d;hp=e06512323f9a632776ddfcf513a28d56988b0ee4;hpb=345bd07cce33565f1cd66acabdaf387ca3a7ccb3;p=binutils-gdb.git diff --git a/gdb/nds32-tdep.h b/gdb/nds32-tdep.h index e06512323f9..e68017b4667 100644 --- a/gdb/nds32-tdep.h +++ b/gdb/nds32-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for the NDS32 architecture, for GDB. - Copyright (C) 2013-2021 Free Software Foundation, Inc. + Copyright (C) 2013-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GDB. @@ -21,6 +21,8 @@ #ifndef NDS32_TDEP_H #define NDS32_TDEP_H +#include "gdbarch.h" + enum nds32_regnum { /* General purpose registers. */ @@ -40,7 +42,7 @@ enum nds32_regnum NDS32_FD0_REGNUM = NDS32_NUM_REGS, }; -struct nds32_gdbarch_tdep : gdbarch_tdep +struct nds32_gdbarch_tdep : gdbarch_tdep_base { /* The guessed FPU configuration. */ int fpu_freg = 0;