This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove lint support


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14ccceb2e24df7defd5264ec3d078f79ecfa1b76

commit 14ccceb2e24df7defd5264ec3d078f79ecfa1b76
Author: Tom Tromey <tom@tromey.com>
Date:   Mon Jul 2 07:07:35 2018 -0600

    Remove lint support
    
    I don't think anyone uses lint any more, so this removes the support
    for it from the Makefile.
    
    gdb/ChangeLog
    2018-07-09  Tom Tromey  <tom@tromey.com>
    
    	* Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.

Diff:
---
 gdb/ChangeLog   |  4 ++++
 gdb/Makefile.in | 11 -----------
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 75a8f67..83c2947 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2018-07-09  Tom Tromey  <tom@tromey.com>
 
+	* Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.
+
+2018-07-09  Tom Tromey  <tom@tromey.com>
+
 	* Makefile.in (clean mostlyclean): Remove stamp-version.
 	(version.c): Depend on stamp-version.
 	(stamp-version): New rule, from version.c rule.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index fa93ac3..f4286f8 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -608,11 +608,6 @@ ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
 
 DIST = gdb
 
-LINT = /usr/5bin/lint
-LINTFLAGS = $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
-	$(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
-	$(INTL_CFLAGS)
-
 RUNTEST = runtest
 RUNTESTFLAGS =
 
@@ -1168,8 +1163,6 @@ SFILES = \
 	$(COMMON_SFILES) \
 	$(SUBDIR_GCC_COMPILE_SRCS)
 
-LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
-
 # Header files that need to have srcdir added.  Note that in the cases
 # where we use a macro like $(gdbcmd_h), things are carefully arranged
 # so that each .h file is listed exactly once (M-x tags-search works
@@ -2148,10 +2141,6 @@ stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/common/c
 	@echo stamp > stamp-version
 
 
-lint: $(LINTFILES)
-	$(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
-	   `echo $(DEPFILES) $(CONFIG_OBS) | sed 's/\.o /\.c /g'`
-
 gdb.cxref: $(SFILES)
 	cxref -I. $(SFILES) >gdb.cxref


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]