From 97a5b208dcb0373cc98a91869833070f413aada7 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 1 Jun 2003 12:31:26 +0000 Subject: [PATCH] Fix gdb/1216. * shnbsd-nat.c: Include "sh-tdep.h". --- gdb/ChangeLog | 3 +++ gdb/shnbsd-nat.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef7ebbe07d..4a6c22a339 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2003-06-01 Mark Kettenis + Fix gdb/1216. + * shnbsd-nat.c: Include "sh-tdep.h". + From Richard Henderson : * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. diff --git a/gdb/shnbsd-nat.c b/gdb/shnbsd-nat.c index e1b56e6640..ec40069855 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. */