aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-19 05:22:32 +0000
committerFred Fish <fnf@specifix.com>1991-11-19 05:22:32 +0000
commit5129100c038a7c03c1afe02482df14f2cd985373 (patch)
tree1d40ad302bbf18ecc6d08101c47f86d075af7738
parentbe9485d5f52e873f1a66f55f34a70fda754fce1f (diff)
downloadgdb-5129100c038a7c03c1afe02482df14f2cd985373.zip
gdb-5129100c038a7c03c1afe02482df14f2cd985373.tar.gz
gdb-5129100c038a7c03c1afe02482df14f2cd985373.tar.bz2
More inclusion of defs.h to before param.h, ala other source files.
This is required to supply some typedefs used in files included via param.h.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/procfs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5395ac9..0a9383c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com)
+ * procfs.c: Move inclusion of defs.h to before param.h, as in
+ all the other source files that include both. This is required
+ to supply some typedefs that are used in files included by param.h.
+
* m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for
skipping function prologues, ala the other cpu families (i386,
mips, m88k, etc). Add the ability to skip movm and fmovm
diff --git a/gdb/procfs.c b/gdb/procfs.c
index c745997..ee0f680 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -33,6 +33,7 @@ regardless of whether or not the actual target has floating point hardware.
+#include "defs.h"
#include "param.h"
#ifdef USE_PROC_FS /* Entire file goes away if not using /proc */
@@ -42,7 +43,6 @@ regardless of whether or not the actual target has floating point hardware.
#include <fcntl.h>
#include <errno.h>
-#include "defs.h"
#include "ansidecl.h"
#include "inferior.h"
#include "target.h"