From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA] gdbserver 2/3 - platform config
Date: Tue, 05 Feb 2002 14:48:00 -0000 [thread overview]
Message-ID: <20020205174819.B13231@nevyn.them.org> (raw)
Here's the second patch. This updates all target configuration files
that referenced gdbserver.
- SH gains gdbserver
- The rest of The Seven are updated to the new layout
- All others are commented out and marked OBSOLETE. This may not be
a 100% faithful use of the term, but is fairly accurate for most
targets - the main exceptions mentioned in my previous mail.
OK to commit with the others?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* config/arm/linux.mt: Update GDBSERVER_DEPFILES.
* config/i386/linux.mt: Likewise.
* config/ia64/linux.mt: Likewise.
* config/m68k/linux.mh: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/mips/linux.mt: Likewise.
* config/sh/linux.mt: Add GDBSERVER_DEPFILES.
* config/i386/i386lynx.mh: Mark gdbserver variables
as (currently) obsolete for this target.
* config/i386/nbsd.mt: Likewise.
* config/i386/nbsdelf.mt: Likewise.
* config/m32r/m32r.mt: Likewise.
* config/m68k/m68klynx.mh: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/m68k/sun3os4.mh: Likewise.
* config/mips/vr5000.mt: Likewise.
* config/ns32k/nbsd.mt: Likewise.
* config/pa/hppabsd.mh: Likewise.
* config/pa/hppaosf.mh: Likewise.
* config/powerpc/nbsd.mt: Likewise.
* config/rs6000/rs6000lynx.mh: Likewise.
* config/s390/s390.mt: Likewise.
* config/s390/s390x.mt: Likewise.
* config/sparc/sparclynx.mh: Likewise.
* config/sparc/sun4os4.mh: Likewise.
* config/i386/x86-64linux.mt: Likewise.
* config/sparc/linux.mh: Likewise.
Index: config/arm/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/linux.mt,v
retrieving revision 1.4
diff -u -r1.4 linux.mt
--- config/arm/linux.mt 2001/03/10 06:17:21 1.4
+++ config/arm/linux.mt 2002/02/05 18:31:45
@@ -2,4 +2,4 @@
TM_FILE= tm-linux.h
TDEPFILES= arm-tdep.o arm-linux-tdep.o solib.o solib-svr4.o solib-legacy.o
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-arm-low.o reg-arm.o
Index: config/i386/i386lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386lynx.mh,v
retrieving revision 1.4
diff -u -r1.4 i386lynx.mh
--- config/i386/i386lynx.mh 2002/01/20 03:28:59 1.4
+++ config/i386/i386lynx.mh 2002/02/05 18:31:45
@@ -5,5 +5,6 @@
NAT_FILE= nm-i386lynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-GDBSERVER_LIBS= -lbsd
-GDBSERVER_DEPFILES= low-lynx.o
+# OBSOLETE
+## GDBSERVER_LIBS= -lbsd
+## GDBSERVER_DEPFILES= low-lynx.o
Index: config/i386/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/linux.mt,v
retrieving revision 1.4
diff -u -r1.4 linux.mt
--- config/i386/linux.mt 2001/03/10 06:17:21 1.4
+++ config/i386/linux.mt 2002/02/05 18:31:45
@@ -3,4 +3,4 @@
solib.o solib-svr4.o solib-legacy.o
TM_FILE= tm-linux.h
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-i386-low.o reg-i386.o
Index: config/i386/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsd.mt,v
retrieving revision 1.7
diff -u -r1.7 nbsd.mt
--- config/i386/nbsd.mt 2002/01/05 18:36:32 1.7
+++ config/i386/nbsd.mt 2002/02/05 18:31:45
@@ -2,4 +2,5 @@
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o
TM_FILE= tm-nbsd.h
-GDBSERVER_DEPFILES= low-nbsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/i386/nbsdelf.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsdelf.mt,v
retrieving revision 1.4
diff -u -r1.4 nbsdelf.mt
--- config/i386/nbsdelf.mt 2002/01/05 18:36:32 1.4
+++ config/i386/nbsdelf.mt 2002/02/05 18:31:45
@@ -2,4 +2,5 @@
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o
TM_FILE= tm-nbsdelf.h
-GDBSERVER_DEPFILES= low-nbsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/i386/x86-64linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/x86-64linux.mt,v
retrieving revision 1.1
diff -u -r1.1 x86-64linux.mt
--- config/i386/x86-64linux.mt 2001/09/21 12:19:15 1.1
+++ config/i386/x86-64linux.mt 2002/02/05 18:31:45
@@ -2,4 +2,5 @@
TDEPFILES= x86-64-tdep.o x86-64-linux-tdep.o i387-tdep.o dwarf2cfi.o \
solib.o solib-svr4.o solib-legacy.o
-GDBSERVER_DEPFILES= low-linux.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-linux.o
Index: config/ia64/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/linux.mt,v
retrieving revision 1.6
diff -u -r1.6 linux.mt
--- config/ia64/linux.mt 2002/02/04 19:11:17 1.6
+++ config/ia64/linux.mt 2002/02/05 18:31:45
@@ -3,4 +3,4 @@
solib.o solib-svr4.o solib-legacy.o
TM_FILE= tm-linux.h
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-ia64-low.o reg-ia64.o
Index: config/m32r/m32r.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m32r/m32r.mt,v
retrieving revision 1.2
diff -u -r1.2 m32r.mt
--- config/m32r/m32r.mt 2001/01/23 19:45:10 1.2
+++ config/m32r/m32r.mt 2002/02/05 18:31:45
@@ -3,5 +3,7 @@
TM_FILE= tm-m32r.h
SIM_OBS = remote-sim.o
SIM = ../sim/m32r/libsim.a
-GDBSERVER_DEPFILES= low-sim.o
-GDBSERVER_LIBS = ../../sim/m32r/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a ../../opcodes/libopcodes.a ../../intl/libintl.a
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-sim.o
+## GDBSERVER_LIBS = ../../sim/m32r/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a ../../opcodes/libopcodes.a ../../intl/libintl.a
Index: config/m68k/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/linux.mh,v
retrieving revision 1.9
diff -u -r1.9 linux.mh
--- config/m68k/linux.mh 2002/01/18 04:51:01 1.9
+++ config/m68k/linux.mh 2002/02/05 18:31:45
@@ -11,4 +11,4 @@
# gdb executable.
LOADLIBES = -ldl -rdynamic
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-m68k-low.o reg-m68k.o
Index: config/m68k/m68klynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/m68klynx.mh,v
retrieving revision 1.4
diff -u -r1.4 m68klynx.mh
--- config/m68k/m68klynx.mh 2002/01/20 03:29:00 1.4
+++ config/m68k/m68klynx.mh 2002/02/05 18:31:45
@@ -5,5 +5,6 @@
NAT_FILE= nm-m68klynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-GDBSERVER_LIBS= -lbsd
-GDBSERVER_DEPFILES= low-lynx.o
+# OBSOLETE
+## GDBSERVER_LIBS= -lbsd
+## GDBSERVER_DEPFILES= low-lynx.o
Index: config/m68k/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsd.mt,v
retrieving revision 1.6
diff -u -r1.6 nbsd.mt
--- config/m68k/nbsd.mt 2001/01/22 20:23:18 1.6
+++ config/m68k/nbsd.mt 2002/02/05 18:31:45
@@ -2,4 +2,5 @@
TDEPFILES= m68k-tdep.o m68knbsd-tdep.o
TM_FILE= tm-nbsd.h
-GDBSERVER_DEPFILES= low-nbsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/m68k/sun3os4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/sun3os4.mh,v
retrieving revision 1.2
diff -u -r1.2 sun3os4.mh
--- config/m68k/sun3os4.mh 2002/01/18 04:51:01 1.2
+++ config/m68k/sun3os4.mh 2002/02/05 18:31:45
@@ -2,4 +2,6 @@
XM_FILE= xm-sun3os4.h
NAT_FILE= nm-sun3.h
NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o
-GDBSERVER_DEPFILES= low-sun3.o
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-sun3.o
Index: config/mips/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/linux.mt,v
retrieving revision 1.1
diff -u -r1.1 linux.mt
--- config/mips/linux.mt 2001/07/10 20:41:54 1.1
+++ config/mips/linux.mt 2002/02/05 18:31:45
@@ -3,7 +3,7 @@
solib.o solib-svr4.o
TM_FILE= tm-linux.h
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-mips-low.o reg-mips.o
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a
Index: config/mips/vr5000.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/vr5000.mt,v
retrieving revision 1.2
diff -u -r1.2 vr5000.mt
--- config/mips/vr5000.mt 2001/01/23 19:45:11 1.2
+++ config/mips/vr5000.mt 2002/02/05 18:31:45
@@ -3,5 +3,7 @@
TM_FILE= tm-vr5000.h
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a
-GDBSERVER_DEPFILES= low-sim.o
-GDBSERVER_LIBS = ../../sim/mips/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a -lm ../../intl/libintl.a
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-sim.o
+## GDBSERVER_LIBS = ../../sim/mips/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a -lm ../../intl/libintl.a
Index: config/ns32k/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/nbsd.mt,v
retrieving revision 1.5
diff -u -r1.5 nbsd.mt
--- config/ns32k/nbsd.mt 2001/01/22 20:23:20 1.5
+++ config/ns32k/nbsd.mt 2002/02/05 18:31:45
@@ -2,4 +2,5 @@
TDEPFILES= ns32k-tdep.o
TM_FILE= tm-nbsd.h
-GDBSERVER_DEPFILES= low-nbsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/pa/hppabsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppabsd.mh,v
retrieving revision 1.4
diff -u -r1.4 hppabsd.mh
--- config/pa/hppabsd.mh 2002/01/24 03:42:59 1.4
+++ config/pa/hppabsd.mh 2002/02/05 18:31:45
@@ -3,4 +3,5 @@
NAT_FILE= nm-hppab.h
NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o
-GDBSERVER_DEPFILES= low-hppabsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-hppabsd.o
Index: config/pa/hppaosf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppaosf.mh,v
retrieving revision 1.4
diff -u -r1.4 hppaosf.mh
--- config/pa/hppaosf.mh 2002/01/24 03:42:59 1.4
+++ config/pa/hppaosf.mh 2002/02/05 18:31:45
@@ -4,5 +4,6 @@
NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hpread.o somsolib.o
NAT_CLIBS= -lmachid -lnetname -lmach
-GDBSERVER_DEPFILES= low-hppabsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-hppabsd.o
Index: config/powerpc/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/linux.mh,v
retrieving revision 1.10
diff -u -r1.10 linux.mh
--- config/powerpc/linux.mh 2002/01/18 04:51:05 1.10
+++ config/powerpc/linux.mh 2002/02/05 18:31:45
@@ -10,4 +10,4 @@
LOADLIBES = -ldl -rdynamic
-GDBSERVER_DEPFILES= low-linux.o
+GDBSERVER_DEPFILES = linux-low.o linux-ppc-low.o reg-ppc.o
Index: config/powerpc/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/nbsd.mt,v
retrieving revision 1.7
diff -u -r1.7 nbsd.mt
--- config/powerpc/nbsd.mt 2001/12/01 00:23:38 1.7
+++ config/powerpc/nbsd.mt 2002/02/05 18:31:45
@@ -2,7 +2,8 @@
TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
-GDBSERVER_DEPFILES= low-nbsd.o
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-nbsd.o
SIM_OBS = remote-sim.o
SIM = ../sim/ppc/libsim.a
Index: config/rs6000/rs6000lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/rs6000lynx.mh,v
retrieving revision 1.4
diff -u -r1.4 rs6000lynx.mh
--- config/rs6000/rs6000lynx.mh 2002/01/20 03:29:00 1.4
+++ config/rs6000/rs6000lynx.mh 2002/02/05 18:31:45
@@ -5,5 +5,6 @@
NAT_FILE= nm-rs6000ly.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o xcoffread.o
-GDBSERVER_LIBS= -lbsd
-GDBSERVER_DEPFILES= low-lynx.o
+# OBSOLETE
+## GDBSERVER_LIBS= -lbsd
+## GDBSERVER_DEPFILES= low-lynx.o
Index: config/s390/s390.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/s390/s390.mt,v
retrieving revision 1.2
diff -u -r1.2 s390.mt
--- config/s390/s390.mt 2001/10/13 22:13:35 1.2
+++ config/s390/s390.mt 2002/02/05 18:31:45
@@ -4,4 +4,6 @@
# Post 5.0 tdep-files
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
-GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
Index: config/s390/s390x.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/s390/s390x.mt,v
retrieving revision 1.2
diff -u -r1.2 s390x.mt
--- config/s390/s390x.mt 2001/10/13 22:13:35 1.2
+++ config/s390/s390x.mt 2002/02/05 18:31:45
@@ -4,6 +4,9 @@
# Post 5.0 tdep-files
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
-GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
+
# needed for gdbserver.
MT_CFLAGS= -DCONFIG_ARCH_S390X
Index: config/sh/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/linux.mt,v
retrieving revision 1.2
diff -u -r1.2 linux.mt
--- config/sh/linux.mt 2001/03/10 06:17:23 1.2
+++ config/sh/linux.mt 2002/02/05 18:31:45
@@ -4,3 +4,5 @@
SIM_OBS = remote-sim.o
SIM = ../sim/sh/libsim.a
+
+GDBSERVER_DEPFILES = linux-low.o linux-sh-low.o reg-sh.o
Index: config/sparc/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux.mh,v
retrieving revision 1.7
diff -u -r1.7 linux.mh
--- config/sparc/linux.mh 2002/01/18 04:51:08 1.7
+++ config/sparc/linux.mh 2002/02/05 18:31:45
@@ -12,4 +12,6 @@
LOADLIBES = -ldl -rdynamic
HOST_IPC=-DBSD_IPC
-GDBSERVER_DEPFILES= low-sparc.o
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-sparc.o
Index: config/sparc/sparclynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sparclynx.mh,v
retrieving revision 1.4
diff -u -r1.4 sparclynx.mh
--- config/sparc/sparclynx.mh 2002/01/20 03:29:01 1.4
+++ config/sparc/sparclynx.mh 2002/02/05 18:31:45
@@ -5,5 +5,6 @@
NAT_FILE= nm-sparclynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-GDBSERVER_LIBS= -lbsd
-GDBSERVER_DEPFILES= low-lynx.o
+# OBSOLETE
+## GDBSERVER_LIBS= -lbsd
+## GDBSERVER_DEPFILES= low-lynx.o
Index: config/sparc/sun4os4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4os4.mh,v
retrieving revision 1.4
diff -u -r1.4 sun4os4.mh
--- config/sparc/sun4os4.mh 2002/01/20 04:23:28 1.4
+++ config/sparc/sun4os4.mh 2002/02/05 18:31:45
@@ -2,7 +2,10 @@
NAT_FILE= nm-sun4os4.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
HOST_IPC=-DBSD_IPC
-GDBSERVER_DEPFILES= low-sparc.o
+
+# OBSOLETE
+## GDBSERVER_DEPFILES= low-sparc.o
+
# Setting XM_CLIBS=-lresolv would let us use the DNS, but that would screw
# anyone who wants to use NIS, which includes at least one Cygnus customer
# (PR 3593). So leave it this way until/unless we find a resolver which can
next reply other threads:[~2002-02-05 22:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-05 14:48 Daniel Jacobowitz [this message]
2002-02-13 20:24 ` Andrew Cagney
2002-02-13 21:51 ` Daniel Jacobowitz
2002-02-14 2:23 ` Eli Zaretskii
2002-02-15 8:04 ` Daniel Jacobowitz
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=20020205174819.B13231@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb-patches@sources.redhat.com \
/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