This is the mail archive of the gdb-patches@sources.redhat.com 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]

[RFA]: Add gdbserver to configdirs for several targets


I submit the following patch for approval.

I discovered that some targets for which gdbserver was not configured
even though their target (or host, we're inconsistant) makefile frag
defined GDBSERVER_DEPFILES.  This patch adds gdbserver to configdirs
for those targets.  I don't have access to most of these targets, so I
was unable to test whether gdbserver still builds for these configs.
However, this is not catastrophic because all the change does is
create the gdbsever directory.  It is not built automatically.

I did all but powerpc-*-linux* and sparc-*-linux*.  powerpc/linux.mh
sets GDBSERVER_DEPFILES to low-linux.o, but I couldn't find evidence
that there was any powerpc support in low-linux.c.  sparc/linux.mh
sets GDBSERVER_DEPFILES to low-sparc.o, but low-sparc.c is clearly for
Sunos4.  I'll leave these to those gnu/linux hackers that know the
best way to resolve this.

        --jtc

2000-11-29  J.T. Conklin  <jtc@redback.com>

	* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
 	rs6000-*-lynxos*, sparc-*-sunos4*): Add gdbserver to configdirs.

Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.14
diff -u -r1.14 configure.tgt
--- configure.tgt	2000/11/26 20:04:41	1.14
+++ configure.tgt	2000/11/29 22:02:59
@@ -76,12 +76,14 @@
 fr30-*-elf*)		gdb_target=fr30 ;;
 
 
-hppa*-*-bsd*)		gdb_target=hppabsd ;;
+hppa*-*-bsd*)		gdb_target=hppabsd
+		configdirs="${configdirs} gdbserver" ;;
 hppa*-*-pro*)		gdb_target=hppapro ;;
 hppa*64*-*-hpux11*)	gdb_target=hppa64 ;;
 hppa*-*-hpux*)		gdb_target=hppahpux ;;
 hppa*-*-hiux*)		gdb_target=hppahpux ;;
-hppa*-*-osf*)		gdb_target=hppaosf ;;
+hppa*-*-osf*)		gdb_target=hppaosf
+		configdirs="${configdirs} gdbserver" ;;
 
 i[3456]86-sequent-bsd*)	gdb_target=symmetry ;;
 i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
@@ -170,7 +172,8 @@
 m68*-*-netbsd*)		gdb_target=nbsd ;;
 m68*-*-os68k*)		gdb_target=os68k ;;
 m68*-*-sunos3*)		gdb_target=sun3os3 ;;
-m68*-*-sunos4*)		gdb_target=sun3os4 ;;
+m68*-*-sunos4*)		gdb_target=sun3os4
+		configdirs="${configdirs} gdbserver" ;;
 m68*-*-sysv4*)		gdb_target=m68kv4 ;;
 m68*-*-vxworks*)	gdb_target=vxworks68 ;;
 
@@ -252,7 +255,8 @@
 
 # OBSOLETE pyramid-*-*)		gdb_target=pyramid ;;
 
-rs6000-*-lynxos*)	gdb_target=rs6000lynx ;;
+rs6000-*-lynxos*)	gdb_target=rs6000lynx
+		configdirs="${configdirs} gdbserver" ;;
 rs6000-*-aix4*)		gdb_target=aix4 ;;
 rs6000-*-*)		gdb_target=rs6000 ;;
 
@@ -267,7 +271,8 @@
 		configdirs="${configdirs} gdbserver" ;;
 sparc-*-netbsd*)	gdb_target=nbsd ;;
 sparc-*-solaris2*)	gdb_target=sun4sol2 ;;
-sparc-*-sunos4*)	gdb_target=sun4os4 ;;
+sparc-*-sunos4*)	gdb_target=sun4os4
+		configdirs="${configdirs} gdbserver" ;;
 sparc-*-sunos5*)	gdb_target=sun4sol2 ;;
 sparc-*-vxworks*)	gdb_target=vxsparc ;;
 sparc-*-*)		gdb_target=sun4os4 ;;



-- 
J.T. Conklin
RedBack Networks

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