Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Simplify i386 target configs
@ 2004-04-09 15:02 Mark Kettenis
  2004-04-10 15:50 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Kettenis @ 2004-04-09 15:02 UTC (permalink / raw)
  To: gdb-patches

This folds a number of targets into a generic i386 target.

Committed,

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>
 
	* configure.tgt: Remove i[34567]86-*-go32*,
	i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
	and i[34567]86-*-isc*.  Set gdb_target to i386 for
	i[34567]86-*-netware* and i[34567]86-*-*.
	* config/i386/i386.mt: New file.
	* config/i386/embed.mt: Remove file.
	* config/i386/go32.mt: Remove file.
	* config/i386/i386nw.mt: Remove file.
	* config/i386/i386v.mt: Remove file.
	* config/i386/tm-go32.h: Remove file.

Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.136
diff -u -p -r1.136 configure.tgt
--- configure.tgt 5 Apr 2004 03:52:41 -0000 1.136
+++ configure.tgt 9 Apr 2004 14:59:27 -0000
@@ -80,23 +80,18 @@ i[34567]86-ncr-*)	gdb_target=ncr3000 ;;
 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
 			gdb_target=nbsd ;;
 i[34567]86-*-openbsd*)	gdb_target=obsd ;;
-i[34567]86-*-go32*)	gdb_target=i386aout ;;
-i[34567]86-*-msdosdjgpp*) gdb_target=go32 ;;
 i[34567]86-*-nto*)	gdb_target=nto ;;
 i[34567]86-*-lynxos*)	gdb_target=i386lynx ;;
 i[34567]86-*-solaris*)	gdb_target=i386sol2 ;;
-i[34567]86-*-sco*)	gdb_target=i386v ;;
-i[34567]86-*-sysv*)	gdb_target=i386v ;;
 i[34567]86-*-linux*)	gdb_target=linux
 			build_gdbserver=yes
 			;;
-i[34567]86-*-isc*)	gdb_target=i386v ;;
 i[34567]86-*-gnu*)	gdb_target=i386gnu ;;
-i[34567]86-*-netware*)	gdb_target=i386nw
-		configdirs="${configdirs} nlm" ;;
+i[34567]86-*-netware*)	gdb_target=i386
+			configdirs="${configdirs} nlm" ;;
 i[34567]86-*-cygwin*)	gdb_target=cygwin  ;;
 i[34567]86-*-vxworks*)	gdb_target=vxworks ;;
-i[34567]86-*-*)		gdb_target=embed ;;
+i[34567]86-*-*)		gdb_target=i386 ;;
 
 ia64-*-aix*)		gdb_target=aix ;;
 ia64-*-linux*)		gdb_target=linux
Index: config/i386/i386.mt
===================================================================
RCS file: config/i386/i386.mt
diff -N config/i386/i386.mt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ config/i386/i386.mt 9 Apr 2004 14:59:27 -0000
@@ -0,0 +1,2 @@
+# Target: i386
+TDEPFILES= i386-tdep.o i387-tdep.o


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Simplify i386 target configs
  2004-04-09 15:02 [PATCH] Simplify i386 target configs Mark Kettenis
@ 2004-04-10 15:50 ` Andrew Cagney
  2004-04-10 16:54   ` Mark Kettenis
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2004-04-10 15:50 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb-patches

> 	* config/i386/i386.mt: New file.
> 	* config/i386/embed.mt: Remove file.
FYI,
other directories (mips, arm, sh) use "embed.mt" for the cross debug .mt 
file.

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Simplify i386 target configs
  2004-04-10 15:50 ` Andrew Cagney
@ 2004-04-10 16:54   ` Mark Kettenis
  2004-04-12 14:53     ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Kettenis @ 2004-04-10 16:54 UTC (permalink / raw)
  To: cagney; +Cc: gdb-patches

   Date: Sat, 10 Apr 2004 11:32:20 -0400
   From: Andrew Cagney <cagney@gnu.org>

   FYI,

   other directories (mips, arm, sh) use "embed.mt" for the cross
   debug .mt file.

And Alpha and SPARC use alpha.mt and sparc.mt.  The new i386.mt isn't
solely used for embedded and/or cross targets, hence the new, neutral
name.

Mark


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Simplify i386 target configs
  2004-04-10 16:54   ` Mark Kettenis
@ 2004-04-12 14:53     ` Andrew Cagney
  2004-04-12 15:41       ` Mark Kettenis
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2004-04-12 14:53 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb-patches


> The new i386.mt isn't
> solely used for embedded and/or cross targets, hence the new, neutral
> name.

You're reading too much into a name.  embed.mt is both os and 
_architecture_ netural.  The fact that it comes with certain 
implications is, well, unfortunate.

Is *.mt still needed?

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Simplify i386 target configs
  2004-04-12 14:53     ` Andrew Cagney
@ 2004-04-12 15:41       ` Mark Kettenis
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Kettenis @ 2004-04-12 15:41 UTC (permalink / raw)
  To: cagney; +Cc: gdb-patches

   Date: Mon, 12 Apr 2004 10:52:59 -0400
   From: Andrew Cagney <cagney@gnu.org>

   Is *.mt still needed?

Unfortunately, yes.  We do need a place to specify which *-tdep.o
files are needed, and we still have some tm-*.h files left.  There are
some issues with getting rid of the tm-*.h files:

* Including "solib.h".  We should probably move towards including it
  unconditionally.

* SOFUN_ADDRESS_MAYBE_MISSING; We've discussed it before, talking
  about enabling it unconditionally, but I chickened out doing just
  that.

* STATIC_TRANSFORM_NAME/IS_STATIC_TRANSFORM_NAME.

* Real-time signal stuff (QNX Neutrino, Lynx).

The rest is OS-specific junk that could go.

Anyway, it should be possible to build a single GDB that is able to
debug GNU/Linux, FreeBSD, NetBSD, OpenBSD and Solaris on both IA-32
and AMD64.

Mark


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-12 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-09 15:02 [PATCH] Simplify i386 target configs Mark Kettenis
2004-04-10 15:50 ` Andrew Cagney
2004-04-10 16:54   ` Mark Kettenis
2004-04-12 14:53     ` Andrew Cagney
2004-04-12 15:41       ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox