Remove path name from test case
[binutils-gdb.git] / sim / ft32 / ft32-sim.h
index 43269d8f34a1e8a2de49afafe963dbf73f494101..6dc2aa95aed2b9270fa0b062cf63dd8ef77e2f2c 100644 (file)
@@ -1,6 +1,6 @@
 /* Simulator for the FT32 processor
 
-   Copyright (C) 2008-2020 Free Software Foundation, Inc.
+   Copyright (C) 2008-2023 Free Software Foundation, Inc.
    Contributed by FTDI <support@ftdichip.com>
 
    This file is part of simulators.
@@ -23,7 +23,7 @@
 
 #include <stdint.h>
 
-#include "gdb/sim-ft32.h"
+#include "sim/sim-ft32.h"
 
 #define FT32_HARD_FP 29
 #define FT32_HARD_CC 30
@@ -40,4 +40,6 @@ struct ft32_cpu_state {
   int exception;
 };
 
+#define FT32_SIM_CPU(cpu) ((struct ft32_cpu_state *) CPU_ARCH_DATA (cpu))
+
 #endif  /* _FT32_SIM_H_ */