This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1216: shnbsd-nat.c is missing #include directive
- From: marcus at mc dot pp dot se
- To: gdb-gnats at sources dot redhat dot com
- Date: 17 May 2003 14:49:47 -0000
- Subject: build/1216: shnbsd-nat.c is missing #include directive
- Reply-to: marcus at mc dot pp dot se
>Number: 1216
>Category: build
>Synopsis: shnbsd-nat.c is missing #include directive
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: patch
>Submitter-Id: net
>Arrival-Date: Sat May 17 14:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Marcus Comstedt
>Release: GDB 5.3
>Organization:
>Environment:
NetBSD 1.6.1 dreamcast
>Description:
The file shnbds-nat.c does not include the file "sh-tdep.h"
which contains the definitions of *_REGNUM. Because of this
GDB does not compile when building natively on NetBSD/sh3.
>How-To-Repeat:
Try to build GDB natively on NetBSD/sh3.
>Fix:
Here's a patch:
--- shnbsd-nat.c.orig Sat May 17 16:29:53 2003
+++ shnbsd-nat.c Sat May 17 16:30:08 2003
@@ -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. */
>Release-Note:
>Audit-Trail:
>Unformatted: