diff options
author | Tom Tromey <tom@tromey.com> | 2018-07-01 18:29:42 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-09 08:03:49 -0600 |
commit | 6497f1dd035530c483fdae22aaa6fcc715775f58 (patch) | |
tree | 04e39444b25ed68f1a2a5918ab69cd193cc04f92 | |
parent | 97a34db94284f42829e5e5c9c4fa65b216739bcb (diff) | |
download | gdb-6497f1dd035530c483fdae22aaa6fcc715775f58.zip gdb-6497f1dd035530c483fdae22aaa6fcc715775f58.tar.gz gdb-6497f1dd035530c483fdae22aaa6fcc715775f58.tar.bz2 |
Remove some unused code from init.c build rule
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/Makefile.in | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0a56ab..24bc1f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 423b681..180f16c 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; \ |