gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / sparc-linux-tdep.c
index 35bffdd772ee4e673d9e8d84854ca0ddd8394e4b..247fde21657c41fbde076256e106c5b207f131a1 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for GNU/Linux SPARC.
 
-   Copyright (C) 2003-2019 Free Software Foundation, Inc.
+   Copyright (C) 2003-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "dwarf2-frame.h"
+#include "dwarf2/frame.h"
 #include "frame.h"
 #include "frame-unwind.h"
 #include "gdbtypes.h"
@@ -68,7 +68,7 @@ static const struct tramp_frame sparc32_linux_sigframe =
   SIGTRAMP_FRAME,
   4,
   {
-    { 0x821020d8, ULONGEST_MAX },              /* mov __NR_sugreturn, %g1 */
+    { 0x821020d8, ULONGEST_MAX },              /* mov __NR_sigreturn, %g1 */
     { 0x91d02010, ULONGEST_MAX },              /* ta  0x10 */
     { TRAMP_SENTINEL_INSN, ULONGEST_MAX }
   },
@@ -465,8 +465,9 @@ sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                    sparc32_linux_gdb_signal_to_target);
 }
 
+void _initialize_sparc_linux_tdep ();
 void
-_initialize_sparc_linux_tdep (void)
+_initialize_sparc_linux_tdep ()
 {
   gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_LINUX,
                          sparc32_linux_init_abi);
This page took 0.025238 seconds and 4 git commands to generate.