Fix build breakage in NetBSD tdep files
authorTom Tromey <tromey@adacore.com>
Mon, 6 Apr 2020 18:42:40 +0000 (12:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 6 Apr 2020 18:42:40 +0000 (12:42 -0600)
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.

gdb/ChangeLog
gdb/arm-nbsd-tdep.c
gdb/hppa-nbsd-tdep.c
gdb/mips-nbsd-tdep.c
gdb/ppc-nbsd-tdep.c
gdb/sh-nbsd-tdep.c
gdb/vax-nbsd-tdep.c

index cdf6d66787216a267664574857cfe569a79fb58e..f742c1fe84083a8053a099e7479b20881977e270 100644 (file)
@@ -1,3 +1,11 @@
+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
index a6104f760b3b15e3ca7c1dd95d062f59e0ec2330..b1e369d41c2e92d18c6dcb9e7f4607bf7f48af87 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "arch/arm.h"
 #include "arm-nbsd-tdep.h"
+#include "nbsd-tdep.h"
 #include "arm-tdep.h"
 #include "regset.h"
 #include "solib-svr4.h"
index d601aa96f3fb66ec9898ba2c51efa7cd477f6eba..5309b1976fd2a94a2cd41bb361c283ad5e1fa4f0 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "hppa-tdep.h"
 #include "hppa-bsd-tdep.h"
+#include "nbsd-tdep.h"
 #include "gdbarch.h"
 
 /* From <machine/mcontext.h>.  */
index 6f4d22b24fbc9bfb55f6cb4758b1c43eb0c0acda..524990a80976fa8226bba810e817f5c42e7b4ad1 100644 (file)
@@ -354,7 +354,7 @@ static void
 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);
index 81492deaccd842792915774bc943ad93b11ec28d..f2cca8f54582a81c20aca5ae06eb90f7eca25358 100644 (file)
@@ -28,7 +28,8 @@
 #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>.  */
index 2b2a7e3fd4a1adb93e69e2dcf65c56846015cc5f..6551c47b5e166bfd7b0dea4461d97ab0b0d23363 100644 (file)
@@ -26,6 +26,7 @@
 #include "osabi.h"
 
 #include "sh-tdep.h"
+#include "nbsd-tdep.h"
 #include "solib-svr4.h"
 #include "gdbarch.h"
 
index 7630ac5ab94baed4c3ce32fee32c9e86d40f2141..40007f1166010b37ef481d4728be5fad12b12071 100644 (file)
@@ -22,6 +22,7 @@
 #include "osabi.h"
 
 #include "vax-tdep.h"
+#include "nbsd-tdep.h"
 #include "solib-svr4.h"
 
 /* NetBSD ELF.  */
This page took 0.062869 seconds and 4 git commands to generate.