aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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"