A recent patch caused some build failures in NetBSD tdep files. I saw
this failure in my --enable-target=all build.
This patch fixes the problems. Tested by rebuilding.
I am going to check this in.
gdb/ChangeLog
2020-04-06 Tom Tromey <tromey@adacore.com>
* sh-nbsd-tdep.c: Include nbsd-tdep.h.
* ppc-nbsd-tdep.c: Include nbsd-tdep.h.
* mips-nbsd-tdep.c (mipsnbsd_init_abi): Add missing ";".
* arm-nbsd-tdep.c: Include nbsd-tdep.h.
* hppa-nbsd-tdep.c: Include nbsd-tdep.h.
+2020-04-06 Tom Tromey <tromey@adacore.com>
+
+ * sh-nbsd-tdep.c: Include nbsd-tdep.h.
+ * ppc-nbsd-tdep.c: Include nbsd-tdep.h.
+ * mips-nbsd-tdep.c (mipsnbsd_init_abi): Add missing ";".
+ * arm-nbsd-tdep.c: Include nbsd-tdep.h.
+ * hppa-nbsd-tdep.c: Include nbsd-tdep.h.
+
2020-04-06 Tom Tromey <tromey@adacore.com>
* dwarf2/read.c (read_base_type) <DW_ATE_complex_float>: Handle
#include "arch/arm.h"
#include "arm-nbsd-tdep.h"
+#include "nbsd-tdep.h"
#include "arm-tdep.h"
#include "regset.h"
#include "solib-svr4.h"
#include "hppa-tdep.h"
#include "hppa-bsd-tdep.h"
+#include "nbsd-tdep.h"
#include "gdbarch.h"
/* From <machine/mcontext.h>. */
mipsnbsd_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
{
- nbsd_init_abi (info, gdbarch)
+ nbsd_init_abi (info, gdbarch);
set_gdbarch_iterate_over_regset_sections
(gdbarch, mipsnbsd_iterate_over_regset_sections);
#include "tramp-frame.h"
#include "ppc-tdep.h"
-#include "ppc-nbsd-tdep.h"
+#include "nbsd-tdep.h"
+#include "ppc-tdep.h"
#include "solib-svr4.h"
/* Register offsets from <machine/reg.h>. */
#include "osabi.h"
#include "sh-tdep.h"
+#include "nbsd-tdep.h"
#include "solib-svr4.h"
#include "gdbarch.h"
#include "osabi.h"
#include "vax-tdep.h"
+#include "nbsd-tdep.h"
#include "solib-svr4.h"
/* NetBSD ELF. */