From 7b6244ebcf769ec1be1803f574d38c6b6b7b791e Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 11 Oct 1996 17:23:14 +0000 Subject: [PATCH] Bug reported by Paul Flinders : * Makefile.in (init.c): Restore '-n' option in sed command. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2