aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-06-01 12:31:26 +0000
committerMark Kettenis <kettenis@gnu.org>2003-06-01 12:31:26 +0000
commit97a5b208dcb0373cc98a91869833070f413aada7 (patch)
tree4232da3e61f3d4e517557318ed17539060fa2bcb
parent572eb7469660c4dc6744d855c42b6e4f29f9d5da (diff)
downloadgdb-97a5b208dcb0373cc98a91869833070f413aada7.zip
gdb-97a5b208dcb0373cc98a91869833070f413aada7.tar.gz
gdb-97a5b208dcb0373cc98a91869833070f413aada7.tar.bz2
Fix gdb/1216.
* shnbsd-nat.c: Include "sh-tdep.h".
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/shnbsd-nat.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ef7ebbe..4a6c22a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2003-06-01 Mark Kettenis <kettenis@gnu.org>
+ Fix gdb/1216.
+ * shnbsd-nat.c: Include "sh-tdep.h".
+
From Richard Henderson <rth@redhat.com>:
* dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic.
diff --git a/gdb/shnbsd-nat.c b/gdb/shnbsd-nat.c
index e1b56e6..ec40069 100644
--- a/gdb/shnbsd-nat.c
+++ b/gdb/shnbsd-nat.c
@@ -1,5 +1,5 @@
/* Native-dependent code for SuperH running NetBSD, for GDB.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.
This file is part of GDB.
@@ -26,6 +26,7 @@
#include "defs.h"
#include "inferior.h"
+#include "sh-tdep.h"
#include "shnbsd-tdep.h"
/* Determine if PT_GETREGS fetches this register. */