Remove some unused code from init.c build rule
authorTom Tromey <tom@tromey.com>
Mon, 2 Jul 2018 00:29:42 +0000 (18:29 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Jul 2018 14:03:49 +0000 (08:03 -0600)
The init.c build rule has a few sed expressions that aren't necessary
any more.  This removes them.

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

* Makefile.in (init.c): Remove some unused sed rules.

gdb/ChangeLog
gdb/Makefile.in

index b0a56ab..24bc1f9 100644 (file)
@@ -1,5 +1,9 @@
 2018-07-09  Tom Tromey  <tom@tromey.com>
 
+       * Makefile.in (init.c): Remove some unused sed rules.
+
+2018-07-09  Tom Tromey  <tom@tromey.com>
+
        * Makefile.in (TSOBS): Remove.
        (INIT_FILES): Update.
        (LIBGDB_OBS): Update.
index 423b681..180f16c 100644 (file)
@@ -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; \