From: Fred Fish Date: Tue, 19 Nov 1991 05:22:32 +0000 (+0000) Subject: More inclusion of defs.h to before param.h, ala other source files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5129100c038a7c03c1afe02482df14f2cd985373;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5395ac9482d..0a9383cdebc 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 c745997273d..ee0f6801fe0 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 #include -#include "defs.h" #include "ansidecl.h" #include "inferior.h" #include "target.h"