* Remove dead TM_* variables from Makefile.in and gdbint manual
@ 2008-10-24 22:37 Pedro Alves
2008-10-24 22:43 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2008-10-24 22:37 UTC (permalink / raw)
To: gdb-patches
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-27 11:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24 22:37 Remove dead TM_* variables from Makefile.in and gdbint manual Pedro Alves
2008-10-24 22:43 ` Joel Brobecker
2008-10-27 11:40 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox