From c41e08c472c86564b1583429f9c228e2a504c44c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 21 May 1993 14:42:14 +0000 Subject: [PATCH] * Makefile.in: Add rule for xcoffexec.o like that for paread.o. * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol. --- gdb/Makefile.in | 6 +++++- gdb/xcoffread.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 85bbff35647..db65ef9a7f2 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -599,7 +599,6 @@ depend: $(SOURCES) Makefile.in -e 'g' \ -e '/:.*\.tab\.c/d' \ -e 's/.*:\(.*\.c\).*/ $${CC} -c $${INTERNAL_CFLAGS} \1/' \ - -e 's;$${srcdir}/xcoffexec.c;-I$${BFD_DIR} &;' \ -e 's;$${srcdir}/xcoffread.c;-I$${BFD_DIR} &;' \ -e 's;$${srcdir}/stabsread.c;-I$${BFD_DIR} &;' \ -e 's;$${srcdir}/dwarfread.c;-I$${BFD_DIR} &;' \ @@ -871,6 +870,11 @@ m2-exp.tab.c: $(srcdir)/m2-exp.y $(srcdir)/Makefile.in # output of dependency information. For now, just punt. (FIXME) paread.o: ${srcdir}/paread.c ${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/paread.c +# Used on RS6000 native. +# This rule fails to get automatically generated in depend if +# sys/ldr.h does not exist. (FIXME) +xcoffexec.o: ${srcdir}/xcoffexec.c + ${CC} -c ${INTERNAL_CFLAGS} -I${BFD_DIR} ${srcdir}/xcoffexec.c lint: $(LINTFILES) $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index aaf8d5981fc..7290f179fd7 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -54,7 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "coff/rs6000.h" /* FIXME, raw file-format guts of xcoff */ /* For interface with stabsread.c. */ -#include "stab_gnu.h" +#include "aout/stab_gnu.h" /* Define this if you want gdb to ignore typdef stabs. This was needed for one of Transarc, to reduce the size of the symbol table. Types won't be -- 2.30.2