From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23655 invoked by alias); 24 Oct 2008 22:37:24 -0000 Received: (qmail 23578 invoked by uid 22791); 24 Oct 2008 22:37:23 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Oct 2008 22:36:34 +0000 Received: (qmail 6063 invoked from network); 24 Oct 2008 22:36:32 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 24 Oct 2008 22:36:32 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Remove dead TM_* variables from Makefile.in and gdbint manual Date: Fri, 24 Oct 2008 22:37:00 -0000 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_03kAJCK/ZOy/cbX" Message-Id: <200810242336.36542.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00622.txt.bz2 --Boundary-00=_03kAJCK/ZOy/cbX Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 291 (This came up in the context of a recent gnu-nat fix. Since I had it here, might as well push it) Would anyone miss these? They're no longer referenced anywhere in the code base, now that we no longer use .mt files. Better not to lead new people in the wrong direction. -- Pedro Alves --Boundary-00=_03kAJCK/ZOy/cbX Content-Type: text/x-diff; charset="utf-8"; name="TM_.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="TM_.diff" Content-length: 2938 gdb/ 2008-10-24 Pedro Alves * Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to $(TM_CLIBS). (CDEPS): Remove reference to $(TM_CDEPS). gdb/doc/ 2008-10-24 Pedro Alves * gdbint.texinfo (Adding a New Target): Don't mention TDEPFILES, .mt files, TM_CLIBS or TM_CDEPS. (x86 Watchpoints): Don't mention TDEPFILES. --- gdb/Makefile.in | 6 +++--- gdb/doc/gdbint.texinfo | 13 ++----------- 2 files changed, 5 insertions(+), 14 deletions(-) Index: src/gdb/Makefile.in =================================================================== --- src.orig/gdb/Makefile.in 2008-10-24 22:53:30.000000000 +0100 +++ src/gdb/Makefile.in 2008-10-24 23:05:14.000000000 +0100 @@ -411,13 +411,13 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CF # If you have the Cygnus libraries installed, # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS=' INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \ - $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ + $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ -lintl -liberty $(LIBGNU) CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \ - $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ + $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ $(LIBICONV) $(LIBEXPAT) \ $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) -CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \ +CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \ $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) Index: src/gdb/doc/gdbint.texinfo =================================================================== --- src.orig/gdb/doc/gdbint.texinfo 2008-10-21 15:45:50.000000000 +0100 +++ src/gdb/doc/gdbint.texinfo 2008-10-24 23:16:28.000000000 +0100 @@ -821,8 +821,7 @@ defining @code{I386_USE_GENERIC_WATCHPOI @item Add @file{i386-nat.o} to the value of the Make variable -@code{NATDEPFILES} (@pxref{Native Debugging, NATDEPFILES}) or -@code{TDEPFILES} (@pxref{Target Architecture Definition, TDEPFILES}). +@code{NATDEPFILES} (@pxref{Native Debugging, NATDEPFILES}). @item Provide implementations for the @code{I386_DR_LOW_*} macros described @@ -4106,15 +4105,7 @@ Defaults to @code{1}. The following files add a target to @value{GDBN}: @table @file -@vindex TDEPFILES -@item gdb/config/@var{arch}/@var{ttt}.mt -Contains a Makefile fragment specific to this target. Specifies what -object files are needed for target @var{ttt}, by defining -@samp{TDEPFILES=@dots{}} and @samp{TDEPLIBS=@dots{}}. - -You can also define @samp{TM_CLIBS} and @samp{TM_CDEPS}, but these are -now deprecated, replaced by autoconf, and may go away in future -versions of @value{GDBN}. +@cindex target dependent files @item gdb/@var{ttt}-tdep.c Contains any miscellaneous code required for this target machine. On --Boundary-00=_03kAJCK/ZOy/cbX--