Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / or1k-linux-tdep.c
index f75a17b2c53371916c55d5452dbfd2f4f78f3f6b..1c3f8db74927eb1f1943f34bf7644b67b44f42b2 100644 (file)
@@ -1,5 +1,5 @@
 /* Target-dependent code for GNU/Linux on OpenRISC processors.
-   Copyright (C) 2018-2019 Free Software Foundation, Inc.
+   Copyright (C) 2018-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -25,6 +25,7 @@
 #include "regset.h"
 #include "tramp-frame.h"
 #include "trad-frame.h"
+#include "gdbarch.h"
 
 /* Define the general register mapping.  The kernel puts the PC at offset 0,
    gdb puts it at offset 32.  Register x0 is always 0 and can be ignored.
@@ -139,7 +140,7 @@ or1k_linux_sigframe_init (const struct tramp_frame *self,
 static void
 or1k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
-  linux_init_abi (info, gdbarch);
+  linux_init_abi (info, gdbarch, 0);
 
   set_solib_svr4_fetch_link_map_offsets (gdbarch,
                                         svr4_ilp32_fetch_link_map_offsets);
@@ -162,8 +163,9 @@ or1k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
 /* Initialize OpenRISC Linux target support.  */
 
+void _initialize_or1k_linux_tdep ();
 void
-_initialize_or1k_linux_tdep (void)
+_initialize_or1k_linux_tdep ()
 {
   gdbarch_register_osabi (bfd_arch_or1k, 0, GDB_OSABI_LINUX,
                          or1k_linux_init_abi);
This page took 0.023795 seconds and 4 git commands to generate.