/* Target-dependent code for GNU/Linux on CSKY.
- Copyright (C) 2012-2019 Free Software Foundation, Inc.
+ Copyright (C) 2012-2020 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Local non-gdb includes. */
-#include "csky-tdep.h"
-#include "gdbarch.h"
+#include "osabi.h"
#include "glibc-tdep.h"
#include "linux-tdep.h"
-#include "osabi.h"
-#include "regset.h"
+#include "gdbarch.h"
#include "solib-svr4.h"
+#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
+#include "csky-tdep.h"
/* Functions, definitions, and data structures for C-Sky core file debug. */
/* Implement the supply_regset hook for FP registers in core files. */
-void
+static void
csky_supply_fregset (const struct regset *regset,
struct regcache *regcache, int regnum,
const void *regs, size_t len)