aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-13 03:32:29 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-13 03:32:29 +0000
commit19230be6ac09e67853881bee59ad0c25a63f8edf (patch)
treed0b10b27b612a48518fd40520dd1bcbfc00192ac /gdb
parent092df318fa140186f4e80b02248be4dfe949afce (diff)
downloadgdb-19230be6ac09e67853881bee59ad0c25a63f8edf.zip
gdb-19230be6ac09e67853881bee59ad0c25a63f8edf.tar.gz
gdb-19230be6ac09e67853881bee59ad0c25a63f8edf.tar.bz2
xcoffread.c, tdesc-lib, and misc fixes.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in36
2 files changed, 28 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 620e5b2..6b65e3d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com)
+
+ * Makefile.in: Add tdesc library support. Fixups to lint,
+ copying.c rules.
+
Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com)
* symtab.c (decode_line_1): Remove spurious call to operator_chars.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c9a2ff4..f8115f8 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -133,11 +133,11 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_LIB} ${LIBIBERTY} ${RL_LIB}
ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
-VERSION = 4.2.2
+VERSION = 4.2.3
DIST=gdb
LINT=/usr/5bin/lint
-LINTFLAGS=
+LINTFLAGS= -I${BFD_DIR}
# Source files in the main directory.
# Files which are included via a tconfig/* or xconfig/* file
@@ -149,9 +149,8 @@ SFILES_MAINDIR = \
remote.c source.c stack.c symmisc.c symtab.c symfile.c \
utils.c valarith.c valops.c valprint.c values.c c-exp.y m2-exp.y \
signame.c cplus-dem.c mem-break.c target.c inftarg.c \
- dbxread.c coffread.c elfread.c dwarfread.c \
+ dbxread.c coffread.c elfread.c dwarfread.c xcoffread.c \
ieee-float.c language.c parse.c buildsym.c
-# xcoffread.c xcoffexec.c \
# Source files in subdirectories (which will be handled separately by
# 'make gdb.tar.Z').
@@ -225,13 +224,12 @@ TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c
# tdesc-lib cannot be named simply tdesc, because if it were, GNU make
# would try to make it from tdesc.c.
-# tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
OTHERS = Makefile.in depend alldeps.mak createtags munch configure.in \
ChangeLog ChangeLog-3.x refcard.ps \
README TODO TAGS WHATS.NEW Projects \
.gdbinit COPYING $(YYFILES) \
copying.c Convex.notes copying.awk \
- saber.suppress standalone.c stuff.c kdb-start.c \
+ saber.suppress standalone.c stuff.c tdesc-lib kdb-start.c \
putenv.c
# Subdirectories of gdb, which should be included in their entirety in
@@ -256,8 +254,7 @@ OBS = main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
copying.o $(DEPFILES) signame.o cplus-dem.o mem-break.o target.o \
inftarg.o ieee-float.o putenv.o parse.o language.o $(YYOBJ) \
buildsym.o \
- dbxread.o coffread.o elfread.o dwarfread.o # mipsread.o
-# xcoffexec.o xcoffread.o \
+ dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o # mipsread.o
RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
@@ -587,8 +584,8 @@ $(srcdir)/doc/rdl-apps.texi:
(cd $(srcdir)/doc; $(MAKE) rdl-apps.texi)
# Make copying.c from COPYING
-copying.c : COPYING copying.awk
- awk -f copying.awk < COPYING > copying.c
+copying.c: ${srcdir}/COPYING ${srcdir}/copying.awk
+ awk -f ${srcdir}/copying.awk < ${srcdir}/COPYING > copying.c
version.c : Makefile.in
echo 'char *version = "$(VERSION)";' >version.c
@@ -624,6 +621,9 @@ elfread.o: ${srcdir}/elfread.c
xcoffread.o: ${srcdir}/xcoffread.c
${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffread.c
+xcoffexec.o: ${srcdir}/xcoffexec.c
+ ${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffexec.c
+
# Drag in the files that are in another directory.
xdr_ld.o: ${srcdir}/vx-share/xdr_ld.c
@@ -650,11 +650,21 @@ ttybreak.o: ${srcdir}/nindy-share/ttybreak.c
ttyflush.o: ${srcdir}/nindy-share/ttyflush.c
${CC} -c ${CFLAGS} ${srcdir}/nindy-share/ttyflush.c
-tdesc-lib/libdc.o : force_update
- cd tdesc-lib ; ${MAKE} "SYSV_DEFINE=${SYSV_DEFINE}"
+disasm.o: $(srcdir)/tdesc-lib/disasm.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/disasm.c
+
+classify.o: $(srcdir)/tdesc-lib/classify.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/classify.c
+
+fcns.o: $(srcdir)/tdesc-lib/fcns.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/fcns.c
+
+table.o: $(TABHDRS) $(srcdir)/tdesc-lib/table.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/table.c
lint: $(LINTFILES)
- $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES)
+ $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
+ `echo ${DEPFILES} | sed 's/\.o /\.c /g'
gdb.cxref: $(SFILES)
cxref -I. $(SFILES) >gdb.cxref