From: Fred Fish Date: Fri, 11 Oct 1996 17:23:14 +0000 (+0000) Subject: Bug reported by Paul Flinders : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b6244ebcf769ec1be1803f574d38c6b6b7b791e;p=binutils-gdb.git Bug reported by Paul Flinders : * Makefile.in (init.c): Restore '-n' option in sed command. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 034ff49eb3b..6b9b3de0891 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 11 10:20:06 1996 Fred Fish + + Bug reported by Paul Flinders : + * 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 c277b745c2a..1507c961d5e 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