From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25254 invoked by alias); 18 Jan 2010 10:12:16 -0000 Received: (qmail 25244 invoked by uid 22791); 18 Jan 2010 10:12:15 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jan 2010 10:12:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 973182BAB6C for ; Mon, 18 Jan 2010 05:12:09 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bdC4j3ZZ7Hbh for ; Mon, 18 Jan 2010 05:12:09 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F0A0A2BAADB for ; Mon, 18 Jan 2010 05:12:08 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 90E06F5970; Mon, 18 Jan 2010 14:11:55 +0400 (RET) Date: Mon, 18 Jan 2010 10:12:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [RFA/commit] Add configure handling of x86_64-*-solaris2.1[0-9]* Message-ID: <20100118101155.GO6667@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00451.txt.bz2 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 511 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 --qMm9M+Fa2AknHoGS Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="x86_64-solaris.diff" Content-length: 1334 commit aa97863cae01cc430cb6118db716b97a53ba21ef Author: brobecke 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 \ --qMm9M+Fa2AknHoGS--