* defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex

constants with slightly more portable definitions (still depends
	on 2's complement arithmetic though).
	* config/i386/nm-linux.h:  Define NO_SYS_REG_H for no <sys/reg.h>.
	* i386v-nat.c (sys/reg.h):  Conditionalize include on
	NO_SYS_REG_H.  Linux doesn't have <sys/reg.h>.
	* ser-unix.c (termio.h):  Include <termio.h> like other files that
	include termio.h, not <sys/termio.h> which may not exist (on
	linux for example).
This commit is contained in:
Fred Fish 1993-05-02 18:57:03 +00:00
parent 772b5e9b59
commit ebd99d5409
3 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,15 @@
Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
* defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
constants with slightly more portable definitions (still depends
on 2's complement arithmetic though).
* config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
* i386v-nat.c (sys/reg.h): Conditionalize include on
NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
* ser-unix.c (termio.h): Include <termio.h> like other files that
include termio.h, not <sys/termio.h> which may not exist (on
linux for example).
Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
* valprint.c (print_longest): Change format parameter from a

View File

@ -1,4 +1,4 @@
/* Intel 386 native support.
/* Intel 386 native support for SYSV systems (pre-SVR4).
Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@ -37,7 +37,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/file.h>
#include <sys/stat.h>
#ifndef NO_SYS_REG_H
#include <sys/reg.h>
#endif
#include "ieee-float.h"
#include "target.h"

View File

@ -49,7 +49,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <unistd.h>
#endif
#ifdef HAVE_TERMIO
#include <sys/termio.h>
#include <termio.h>
#endif
#ifdef HAVE_SGTTY
#include <sgtty.h>