Refactor Rust code for slice-to-array operation
[binutils-gdb.git] / gdb / ft32-tdep.h
index 5c52480840af1ca43117dd4a7bdc6b635d2a8ae5..2e5b74216e6048cb85cdc708dd1ae97f2f67f309 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for the FT32.
 
-   Copyright (C) 2002-2015 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
 {
-  /* gdbarch target dependent data here.  Currently unused for FT32.  */
+  /* Type for a pointer to a function.  Used for the type of PC.  */
+  struct type *pc_type = nullptr;
 };
 
 #endif /* FT32_TDEP_H */