From: Jim Kingdon Date: Mon, 29 Apr 1991 20:54:42 +0000 (+0000) Subject: * infrun.c: Don't include sys/user.h and friends (wrong for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79043f9ee8e7217005e2b75a656e153898f4221c;p=binutils-gdb.git * 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 . 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). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 62dca735f99..6fc45443be1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 . + 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 diff --git a/gdb/infrun.c b/gdb/infrun.c index cd2e29af2ab..c6117f751b8 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -141,18 +141,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #ifdef SET_STACK_LIMIT_HUGE +#include +#include + extern int original_stack_limit; #endif /* SET_STACK_LIMIT_HUGE */ -/* Required by . */ -#include -/* Required by , at least on system V. */ -#include -/* Needed by IN_SIGTRAMP on some machines (e.g. vax). */ -#include -/* Needed by IN_SIGTRAMP on some machines (e.g. vax). */ -#include - extern char *getenv (); extern struct target_ops child_ops; /* In inftarg.c */ diff --git a/gdb/xm-tahoe.h b/gdb/xm-tahoe.h index 924fffa83fc..d35d3d47f66 100644 --- a/gdb/xm-tahoe.h +++ b/gdb/xm-tahoe.h @@ -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