aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-nbsd-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-04-06 12:42:40 -0600
committerTom Tromey <tromey@adacore.com>2020-04-06 12:42:40 -0600
commitdea34e8cc336a80546dac21463583a76e3e5d473 (patch)
tree72b883ca06f1360c1f8ff378fc945a4bad421931 /gdb/ppc-nbsd-tdep.c
parent93689ce91271bf88580a2d035a466479c16f4e71 (diff)
downloadgdb-dea34e8cc336a80546dac21463583a76e3e5d473.zip
gdb-dea34e8cc336a80546dac21463583a76e3e5d473.tar.gz
gdb-dea34e8cc336a80546dac21463583a76e3e5d473.tar.bz2
Fix build breakage in NetBSD tdep files
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.
Diffstat (limited to 'gdb/ppc-nbsd-tdep.c')
-rw-r--r--gdb/ppc-nbsd-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppc-nbsd-tdep.c b/gdb/ppc-nbsd-tdep.c
index 81492de..f2cca8f 100644
--- a/gdb/ppc-nbsd-tdep.c
+++ b/gdb/ppc-nbsd-tdep.c
@@ -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>. */