aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-05-21 14:42:14 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-05-21 14:42:14 +0000
commitc41e08c472c86564b1583429f9c228e2a504c44c (patch)
tree550d9e817d6da5ce66ea42c678f2ea81490ccc6a
parent7326242025e8f2044ecd483f0b5cc0b85851110c (diff)
downloadgdb-c41e08c472c86564b1583429f9c228e2a504c44c.zip
gdb-c41e08c472c86564b1583429f9c228e2a504c44c.tar.gz
gdb-c41e08c472c86564b1583429f9c228e2a504c44c.tar.bz2
* Makefile.in: Add rule for xcoffexec.o like that for paread.o.
* xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
-rw-r--r--gdb/Makefile.in6
-rw-r--r--gdb/xcoffread.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 85bbff3..db65ef9 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 aaf8d59..7290f17 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