[gdb/testsuite] Fix gdb.opt/inline-small-func.exp with clang
[binutils-gdb.git] / gdb / nds32-tdep.h
index e06512323f9a632776ddfcf513a28d56988b0ee4..e68017b46670a9afddd1156be6df710eaf751a38 100644 (file)
@@ -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;