/* Target-dependent code for AMD64 Solaris.
- Copyright (C) 2001-2019 Free Software Foundation, Inc.
+ Copyright (C) 2001-2020 Free Software Foundation, Inc.
Contributed by Joseph Myers, CodeSourcery, LLC.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Local non-gdb includes. */
-#include "amd64-tdep.h"
-#include "common/x86-xstate.h"
#include "frame.h"
#include "gdbcore.h"
-#include "osabi.h"
#include "regcache.h"
+#include "osabi.h"
+#include "symtab.h"
+
#include "sol2-tdep.h"
+#include "amd64-tdep.h"
+#include "gdbsupport/x86-xstate.h"
#include "solib-svr4.h"
-#include "symtab.h"
/* Mapping between the general-purpose registers in gregset_t format
and GDB's register cache layout. */
set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
}
+void _initialize_amd64_sol2_tdep ();
void
-_initialize_amd64_sol2_tdep (void)
+_initialize_amd64_sol2_tdep ()
{
gdbarch_register_osabi (bfd_arch_i386, bfd_mach_x86_64,
GDB_OSABI_SOLARIS, amd64_sol2_init_abi);