/* 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.
#ifndef NDS32_TDEP_H
#define NDS32_TDEP_H
+#include "gdbarch.h"
+
enum nds32_regnum
{
/* General purpose registers. */
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;