[RFA 02/10] Remove some unused code from init.c build rule

Tom Tromey
2018-07-02T20:18:45Z

The init.c build rule has a few sed expressions that aren't necessary
any more. This removes them.

gdb/ChangeLog
2018-07-01 Tom Tromey <tom@tromey.com>

* Makefile.in (init.c): Remove some unused sed rules.
---
gdb/ChangeLog | 4 ++++
gdb/Makefile.in | 8 --------
2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 423b681c905..180f16c7b8d 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1865,18 +1865,10 @@ init.c: $(INIT_FILES)
sed \
-e '/^gdbtypes.[co]$$/d' \
-e '/^init.[co]$$/d' \
- -e '/xdr_ld.[co]$$/d' \
- -e '/xdr_ptrace.[co]$$/d' \
- -e '/xdr_rdb.[co]$$/d' \
- -e '/udr.[co]$$/d' \
- -e '/udip2soc.[co]$$/d' \
- -e '/udi2go32.[co]$$/d' \
-e '/version.[co]$$/d' \
-e '/^[a-z0-9A-Z_]*_[SU].[co]$$/d' \
- -e '/[a-z0-9A-Z_]*-exp.tab.[co]$$/d' \
-e 's/-exp\.o$$/-exp.y/' \
-e 's/\.[co]$$/.c/' \
- -e 's,signals\.c,common/signals\.c,' \
-e 's|^\([^ /][^ ]*\)|$(srcdir)/\1|g' | \
while read f; do \
sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
--
2.13.6