/* Target-dependent code for NetBSD/hppa
- Copyright (C) 2008-2019 Free Software Foundation, Inc.
+ Copyright (C) 2008-2020 Free Software Foundation, Inc.
This file is part of GDB.
#include "hppa-tdep.h"
#include "hppa-bsd-tdep.h"
+#include "nbsd-tdep.h"
#include "gdbarch.h"
/* From <machine/mcontext.h>. */
/* Obviously NetBSD is BSD-based. */
hppabsd_init_abi (info, gdbarch);
+ nbsd_init_abi (info, gdbarch);
+
/* Core file support. */
set_gdbarch_iterate_over_regset_sections
(gdbarch, hppanbsd_iterate_over_regset_sections);
tramp_frame_prepend_unwinder (gdbarch, &hppanbsd_sigtramp_si4);
}
+void _initialize_hppanbsd_tdep ();
void
-_initialize_hppanbsd_tdep (void)
+_initialize_hppanbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_hppa, 0, GDB_OSABI_NETBSD,
hppanbsd_init_abi);