aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.dist
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-05-02 04:28:42 +0000
commite1ce8aa5ed46310d716472d19d2e87da2833d599 (patch)
treecacaf1a83d8e388b049c2b3bc454f311dd34b6e2 /gdb/Makefile.dist
parent04a0511c0af3d07f7b4587fbf4715d2b956f1fad (diff)
downloadgdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.zip
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.gz
gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.bz2
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
Diffstat (limited to 'gdb/Makefile.dist')
-rwxr-xr-xgdb/Makefile.dist16
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist
index 6c5060b..fc7efb1 100755
--- a/gdb/Makefile.dist
+++ b/gdb/Makefile.dist
@@ -488,14 +488,10 @@ gdb.cxref: $(SFILES)
force_update :
-# When used with GDB, the demangler should never look for leading underscores
-# because GDB strips them off during symbol read-in. Thus -Dnounderscore.
-# Adding "param.h" gets us the USG define without having to edit cplus-dem.c
-# (which is used by other programs which may or may not have a "param.h").
-# (no newline is added, so line numbers still work right).
+# When used with GDB, the demangler should never look for leading
+# underscores because GDB strips them off during symbol read-in. Thus
+# -Dnounderscore.
+
cplus-dem.o : cplus-dem.c
- sed <`echo ${srcdir}/cplus-dem.c | sed 's,^\./,,'` \
- >cplus.tmp.c \
- '1s,^,#include "param.h" ,'
- ${CC} -c ${CFLAGS} -Dnounderscore cplus.tmp.c
- mv cplus.tmp.o cplus-dem.o
+ ${CC} -c ${CFLAGS} -Dnounderscore \
+ `echo ${srcdir}/cplus-dem.c | sed 's,^\./,,'`