aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-10-11 17:23:14 +0000
committerFred Fish <fnf@specifix.com>1996-10-11 17:23:14 +0000
commit7b6244ebcf769ec1be1803f574d38c6b6b7b791e (patch)
tree7c73dba36ccc59d74a0c1aa42427f0386b6b8e60
parente96dc1f7d4d910bf886300a60316b8ad11d5356c (diff)
downloadgdb-7b6244ebcf769ec1be1803f574d38c6b6b7b791e.zip
gdb-7b6244ebcf769ec1be1803f574d38c6b6b7b791e.tar.gz
gdb-7b6244ebcf769ec1be1803f574d38c6b6b7b791e.tar.bz2
Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
* Makefile.in (init.c): Restore '-n' option in sed command.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 034ff49..6b9b3de 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 11 10:20:06 1996 Fred Fish <fnf@cygnus.com>
+
+ Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
+ * Makefile.in (init.c): Restore '-n' option in sed command.
+
Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
* Makefile.in (init.c): Fixup final sed script to work around
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c277b74..1507c96 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -603,7 +603,7 @@ init.c: $(OBS) $(TSOBS)
-e 's/\.o/.c/' \
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
xargs grep -s '^_initialize_[a-z_0-9A-Z]* *(' | \
- sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
+ sed -n -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
@echo '}' >>init.c-tmp
@mv init.c-tmp init.c