mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +08:00
* 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:
@ -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)
|
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
|
* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
|
||||||
|
12
gdb/infrun.c
12
gdb/infrun.c
@ -141,18 +141,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SET_STACK_LIMIT_HUGE
|
#ifdef SET_STACK_LIMIT_HUGE
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/resource.h>
|
||||||
|
|
||||||
extern int original_stack_limit;
|
extern int original_stack_limit;
|
||||||
#endif /* SET_STACK_LIMIT_HUGE */
|
#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 char *getenv ();
|
||||||
|
|
||||||
extern struct target_ops child_ops; /* In inftarg.c */
|
extern struct target_ops child_ops; /* In inftarg.c */
|
||||||
|
@ -22,24 +22,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
* Computer Systems Lab, Department of Computer Science, 1991.
|
* 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. */
|
/* Get rid of any system-imposed stack limit if possible. */
|
||||||
|
|
||||||
#define SET_STACK_LIMIT_HUGE
|
#define SET_STACK_LIMIT_HUGE
|
||||||
|
Reference in New Issue
Block a user