diff options
author | Tom Tromey <tromey@adacore.com> | 2020-10-21 08:54:17 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-10-21 11:52:17 -0600 |
commit | 0d01fbe64f6f3f66fb6bd3b4e79e389e600b69a2 (patch) | |
tree | 454f3fb08e8503fa243a44badf74f05a9a7128d9 /libctf/Makefile.am | |
parent | ffd73a8b9ed30934b3cd00c15f5aa041621dcf9c (diff) | |
download | gdb-0d01fbe64f6f3f66fb6bd3b4e79e389e600b69a2.zip gdb-0d01fbe64f6f3f66fb6bd3b4e79e389e600b69a2.tar.gz gdb-0d01fbe64f6f3f66fb6bd3b4e79e389e600b69a2.tar.bz2 |
Remove libctf/mkerrors.sed
This patch removes libctf/mkerrors.sed, replacing it with a macro in
ctf-api.h. This simplifies the build and avoids possible unportable
code in the sed script.
2020-10-21 Tom Tromey <tromey@adacore.com>
* ctf-api.h (_CTF_ERRORS): New macro.
libctf/ChangeLog
2020-10-21 Tom Tromey <tromey@adacore.com>
* mkerrors.sed: Remove.
* ctf-error.c (_CTF_FIRST): New define.
(_CTF_ITEM): Define this, not _CTF_STR.
(_ctf_errlist, _ctf_erridx): Use _CTF_ERRORS.
(ERRSTRFIELD): Rewrite.
(ERRSTRFIELD1): Remove.
* Makefile.in: Rebuild.
* Makefile.am (BUILT_SOURCES): Remove.
(ctf-error.h): Remove.
Diffstat (limited to 'libctf/Makefile.am')
-rw-r--r-- | libctf/Makefile.am | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libctf/Makefile.am b/libctf/Makefile.am index d762b0a..fc1f229 100644 --- a/libctf/Makefile.am +++ b/libctf/Makefile.am @@ -55,8 +55,3 @@ libctf_la_CPPFLAGS = $(AM_CPPFLAGS) -DNOBFD=0 libctf_la_DEPENDENCIES = @BFD_DEPENDENCIES@ libctf_la_LDFLAGS = $(libctf_nobfd_la_LDFLAGS) libctf_la_SOURCES = $(libctf_nobfd_la_SOURCES) ctf-open-bfd.c - -BUILT_SOURCES = ctf-error.h - -ctf-error.h: $(srcdir)/mkerrors.sed $(srcdir)/../include/ctf-api.h - sed -nf $(srcdir)/mkerrors.sed < $(srcdir)/../include/ctf-api.h > $@ |