Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/commit] Add configure handling of x86_64-*-solaris2.1[0-9]*
@ 2010-01-18 10:12 Joel Brobecker
  2010-01-18 10:14 ` Joel Brobecker
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2010-01-18 10:12 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Hello,

AdaCore briefly experimented with an x86_64-solaris debugger.
It already works fine to build the debugger with ix86-*-solaris2.10,
but it seems logical to accept x86_64-*-solaris2.10.  This patch
adjusts the configure scripts to accept the latter as an alias
of the former...

gdb/ChangeLog:

	* configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
	i[34567]86-*-solaris2.1[0-9]*.
	* configure.tgt: Likewise.l

Any reason why not to commit this patch?  Tested on x86_64-solaris.

Thanks,
-- 
Joel

[-- Attachment #2: x86_64-solaris.diff --]
[-- Type: text/x-diff, Size: 1334 bytes --]

commit aa97863cae01cc430cb6118db716b97a53ba21ef
Author: brobecke <brobecke@f8352e7e-cb20-0410-8ce7-b5d9e71c585c>
Date:   Tue Oct 6 04:46:37 2009 +0000

            * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
            i[34567]86-*-solaris2.1[0-9]*.
            * configure.tgt: Likewise.l
            For I925-005.
    
diff --git a/gdb/configure.host b/gdb/configure.host
index aec5821..e3c061b 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -100,7 +100,8 @@ i[3456]86-*-nto*) 	gdb_host=nto ;;
 i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
 			gdb_host=obsdaout ;;
 i[34567]86-*-openbsd*)	gdb_host=obsd ;;
-i[34567]86-*-solaris2.1[0-9]*)	gdb_host=sol2-64 ;;
+i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
+			gdb_host=sol2-64 ;;
 i[34567]86-*-solaris*)	gdb_host=i386sol2 ;;
 i[34567]86-*-cygwin*)	gdb_host=cygwin ;;
 
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index b760659..074d5d1 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -202,7 +202,7 @@ i[34567]86-*-nto*)
 			i386-nto-tdep.o nto-tdep.o"
 	build_gdbserver=yes
 	;;
-i[34567]86-*-solaris2.1[0-9]*)
+i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
 	# Target: Solaris x86_64
 	gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
 			i386-sol2-tdep.o sol2-tdep.o \

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

end of thread, other threads:[~2010-01-30 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-18 10:12 [RFA/commit] Add configure handling of x86_64-*-solaris2.1[0-9]* Joel Brobecker
2010-01-18 10:14 ` Joel Brobecker
2010-01-19 10:24   ` Joel Brobecker
2010-01-30 15:07   ` Mark Kettenis

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