This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[RFA/commit] Add configure handling of x86_64-*-solaris2.1[0-9]*


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
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 \

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