gdb/testsuite: some additional tests in gdb.tui/scroll.exp
[binutils-gdb.git] / gdb / ft32-tdep.h
index 386980243839a1d1c5f7fe9bb9e2c176a34d3010..e66a417198ebc02ed62b7de1e532e119a492cd68 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for the FT32.
 
-   Copyright (C) 2002-2020 Free Software Foundation, Inc.
+   Copyright (C) 2002-2022 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
 {
   /* 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 */