This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Strip hppa-tdep.c #include<>s
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 06 Apr 2004 11:39:37 -0400
- Subject: [commit] Strip hppa-tdep.c #include<>s
Hello,
This strips hppa-tdep.c of many of the system includes. They don't
appear to be necessary (I was still able to build hppa-elf).
committed,
Andrew
2004-04-05 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
<signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
<sys/file.h>.
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.140
diff -u -r1.140 hppa-tdep.c
--- hppa-tdep.c 6 Apr 2004 15:30:19 -0000 1.140
+++ hppa-tdep.c 6 Apr 2004 15:35:05 -0000
@@ -44,22 +44,6 @@
#include "frame-unwind.h"
#include "frame-base.h"
-#ifdef USG
-#include <sys/types.h>
-#endif
-
-#include <sys/param.h>
-#include <signal.h>
-
-#include <sys/ptrace.h>
-
-#ifdef COFF_ENCAPSULATE
-#include "a.out.encap.h"
-#else
-#endif
-
-/*#include <sys/user.h> After a.out.h */
-#include <sys/file.h>
#include "gdb_stat.h"
#include "gdb_wait.h"