mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
SCO lint.
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com)
|
Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com)
|
||||||
|
|
||||||
* infptrace.c, language.h: Lint.
|
* buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h>
|
||||||
|
first, before defs.h.
|
||||||
|
* config/mh-i386sco: Override compiler to gcc, print warning.
|
||||||
|
* infptrace.c, language.h, utils.c: Lint.
|
||||||
* m2-exp.y: #undef MAX and MIN in case system includes set them.
|
* m2-exp.y: #undef MAX and MIN in case system includes set them.
|
||||||
* xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of
|
* xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of
|
||||||
{BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid
|
{BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid
|
||||||
|
@ -24,6 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
They originated in dbxread.c of gdb-4.2, and were split out to
|
They originated in dbxread.c of gdb-4.2, and were split out to
|
||||||
make xcoffread.c more maintainable by sharing code. */
|
make xcoffread.c more maintainable by sharing code. */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
@ -31,7 +32,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#include "gdbcore.h" /* for bfd stuff for symfile.h */
|
#include "gdbcore.h" /* for bfd stuff for symfile.h */
|
||||||
#include "symfile.h" /* Needed for "struct complaint" */
|
#include "symfile.h" /* Needed for "struct complaint" */
|
||||||
#include "stab.gnu.h" /* We always use GNU stabs, not native */
|
#include "stab.gnu.h" /* We always use GNU stabs, not native */
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
@ -20,13 +20,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
/* core.c is supposed to be the more machine-independent aspects of this;
|
/* core.c is supposed to be the more machine-independent aspects of this;
|
||||||
this file is more machine-specific. */
|
this file is more machine-specific. */
|
||||||
|
|
||||||
#include "defs.h"
|
|
||||||
#include "gdbcore.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* These are needed on various systems to expand REGISTER_U_ADDR. */
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
#include "defs.h"
|
||||||
|
#include "gdbcore.h"
|
||||||
|
|
||||||
|
/* These are needed on various systems to expand REGISTER_U_ADDR. */
|
||||||
#ifndef USG
|
#ifndef USG
|
||||||
#include <sys/dir.h>
|
#include <sys/dir.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
|
@ -19,11 +19,10 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
/* AIX COFF names have a preceeding dot `.' */
|
/* AIX COFF names have a preceeding dot `.' */
|
||||||
#define NAMES_HAVE_DOT 1
|
#define NAMES_HAVE_DOT 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user