diff options
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/infrun.c | 12 | ||||
-rw-r--r-- | gdb/xm-tahoe.h | 18 |
3 files changed, 14 insertions, 27 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 62dca73..6fc4544 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 <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 diff --git a/gdb/infrun.c b/gdb/infrun.c index cd2e29a..c6117f7 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 <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 */ diff --git a/gdb/xm-tahoe.h b/gdb/xm-tahoe.h index 924fffa..d35d3d4 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 |