aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/config/i386sco.mh2
-rw-r--r--gdb/config/i386v.mt2
-rw-r--r--gdb/dwarfread.c1
5 files changed, 13 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 94afd30..5cd0f9e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ff8b90b..11deb00 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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
diff --git a/gdb/config/i386sco.mh b/gdb/config/i386sco.mh
index e849063..b1a276c 100644
--- a/gdb/config/i386sco.mh
+++ b/gdb/config/i386sco.mh
@@ -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
diff --git a/gdb/config/i386v.mt b/gdb/config/i386v.mt
index 75e5661..08699de 100644
--- a/gdb/config/i386v.mt
+++ b/gdb/config/i386v.mt
@@ -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
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index 2b13ad6..85b626c 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -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