* Makefile.in (HFILES): Add nm-i386sco.h.

* dwarfread.c:  include <sys/types.h> for SCO.
* infptrace.c:  Don't include ptrace.h under SCO.
* config/i386sco.mh:  Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt:  Add exec.o to TDEPFILES.
This commit is contained in:
Stu Grossman 1992-10-22 08:07:12 +00:00
parent 3496b74562
commit 603900c746
5 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,12 @@
Thu Oct 22 01:01:24 1992 Stu Grossman (grossman at cygnus.com)
* Makefile.in (HFILES): Add nm-i386sco.h.
* dwarfread.c: include <sys/types.h> for SCO.
* infptrace.c: Don't include ptrace.h under SCO.
* config/i386sco.mh: Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt: Add exec.o to TDEPFILES.
Wed Oct 21 19:08:20 1992 Stu Grossman (grossman at cygnus.com)
* i386v-nat.c: Remove space from front of #endif.

View File

@ -253,7 +253,7 @@ HFILES= breakpoint.h buildsym.h call-cmds.h command.h defs.h \
target.h terminal.h xcoffsolib.h value.h \
tm-68k.h tm-hppa.h tm-i960.h tm-sparc.h tm-sunos.h tm-sysv4.h \
xm-m68k.h xm-sparc.h xm-sysv4.h xm-vax.h \
nm-i386bsd.h nm-i386mach.h nm-i386v.h nm-i386v4.h nm-irix3.h \
nm-i386bsd.h nm-i386mach.h nm-i386sco.h nm-i386v.h nm-i386v4.h nm-irix3.h \
nm-irix4.h nm-linux.h nm-m88k.h nm-mips.h nm-news.h nm-rs6000.h \
nm-sun2.h nm-sun3.h nm-sun386.h nm-sun4os4.h nm-trash.h \
nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h nm-sysv4.h

View File

@ -10,4 +10,4 @@ REGEX1=regex.o
#msg The SCO C compiler cannot parse symtab.h when value.h has been included.
#msg This is a bug in the compiler; the code is valid.
#msg Therefore, you must use GCC to compile GDB on SCO machines.
CC=gcc -posix
CC=gcc -D_POSIX_SOURCE=1

View File

@ -1,3 +1,3 @@
# Target: Intel 386 running System V
TDEPFILES= i386-tdep.o i386-pinsn.o i387-tdep.o
TDEPFILES= exec.o i386-tdep.o i386-pinsn.o i387-tdep.o
TM_FILE= tm-i386v.h

View File

@ -54,6 +54,7 @@ other things to work on, if you get bored. :-)
#include <varargs.h>
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#ifndef NO_SYS_FILE
#include <sys/file.h>
#endif