* infrun.c: Don't include sys/user.h and friends (wrong for

cross-debugging and not necessary anymore (see IN_SIGTRAMP in
	xm-vax.h)).
	[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
	xm-tahoe.h: Don't define _DIRENT_.

	* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
	includes sgtty.h before sys/ioctl.h).
This commit is contained in:
Jim Kingdon 1991-04-29 20:54:42 +00:00
parent 192040b131
commit 79043f9ee8
3 changed files with 14 additions and 27 deletions

View File

@ -1,3 +1,14 @@
Mon Apr 29 13:22:51 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
* infrun.c: Don't include sys/user.h and friends (wrong for
cross-debugging and not necessary anymore (see IN_SIGTRAMP in
xm-vax.h)).
[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
xm-tahoe.h: Don't define _DIRENT_.
* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
includes sgtty.h before sys/ioctl.h).
Sun Apr 28 22:04:47 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined

View File

@ -141,18 +141,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#ifdef SET_STACK_LIMIT_HUGE
#include <sys/time.h>
#include <sys/resource.h>
extern int original_stack_limit;
#endif /* SET_STACK_LIMIT_HUGE */
/* Required by <sys/user.h>. */
#include <sys/types.h>
/* Required by <sys/user.h>, at least on system V. */
#include <sys/dir.h>
/* Needed by IN_SIGTRAMP on some machines (e.g. vax). */
#include <sys/param.h>
/* Needed by IN_SIGTRAMP on some machines (e.g. vax). */
#include <sys/user.h>
extern char *getenv ();
extern struct target_ops child_ops; /* In inftarg.c */

View File

@ -22,24 +22,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* Computer Systems Lab, Department of Computer Science, 1991.
*/
/*
* These first two are kludges to get this thing to compile under Reno (or
* at least the Reno running on okeeffe). It seems there are a few problems
* with the include files.
*/
/* to compile infrun.c -
don't allow sys/dir.h to be included, it gets redefined and
by ufs/dir.h and screws up my life! */
#define _DIRENT_
/* to compile remote.c -
when sys/ioctl.h get's called we need USE_OLD_TTY defined
so that ioctl_compat.h will be included. latter, sgtty.h
tries to define USE_OLD_TTY and call sys/ioctl.h but it's
too late */
#define USE_OLD_TTY
/* Get rid of any system-imposed stack limit if possible. */
#define SET_STACK_LIMIT_HUGE