From 603900c746365d912cff7e8a219e4710a05be970 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 22 Oct 1992 08:07:12 +0000 Subject: [PATCH] * Makefile.in (HFILES): Add nm-i386sco.h. * dwarfread.c: include 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. --- gdb/ChangeLog | 9 +++++++++ gdb/Makefile.in | 2 +- gdb/config/i386sco.mh | 2 +- gdb/config/i386v.mt | 2 +- gdb/dwarfread.c | 1 + 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94afd30b1d5..5cd0f9ee307 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 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 ff8b90bbdff..11deb00c45e 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 e8490637801..b1a276c70d8 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 75e566139c4..08699de4ff5 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 2b13ad6d334..85b626c190f 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -54,6 +54,7 @@ other things to work on, if you get bored. :-) #include #include #include +#include #ifndef NO_SYS_FILE #include #endif -- 2.30.2