/* Target-dependent code for the FT32.
- Copyright (C) 2002-2017 Free Software Foundation, Inc.
+ Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of GDB.
#ifndef FT32_TDEP_H
#define FT32_TDEP_H
-struct gdbarch_tdep
+#include "gdbarch.h"
+
+struct ft32_gdbarch_tdep : gdbarch_tdep_base
{
/* Type for a pointer to a function. Used for the type of PC. */
- struct type *pc_type;
+ struct type *pc_type = nullptr;
};
#endif /* FT32_TDEP_H */