+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
#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 */
* 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