aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-29 20:54:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-29 20:54:42 +0000
commit79043f9ee8e7217005e2b75a656e153898f4221c (patch)
treeb4c81780a733ddfed06a2c208499da1e2ea98e76 /gdb/infrun.c
parent192040b1312ce0c9fe2e289e772ead79e87f6c81 (diff)
downloadgdb-79043f9ee8e7217005e2b75a656e153898f4221c.zip
gdb-79043f9ee8e7217005e2b75a656e153898f4221c.tar.gz
gdb-79043f9ee8e7217005e2b75a656e153898f4221c.tar.bz2
* 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).
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c12
1 files changed, 3 insertions, 9 deletions
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 */