From: Pedro Alves <pedro@codesourcery.com>
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 [thread overview]
Message-ID: <200810242336.36542.pedro@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
(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
[-- Attachment #2: TM_.diff --]
[-- Type: text/x-diff, Size: 2938 bytes --]
gdb/
2008-10-24 Pedro Alves <pedro@codesourcery.com>
* Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
$(TM_CLIBS).
(CDEPS): Remove reference to $(TM_CDEPS).
gdb/doc/
2008-10-24 Pedro Alves <pedro@codesourcery.com>
* 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
next reply other threads:[~2008-10-24 22:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 22:37 Pedro Alves [this message]
2008-10-24 22:43 ` Joel Brobecker
2008-10-27 11:40 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810242336.36542.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox