Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA/commit] Add configure handling of  x86_64-*-solaris2.1[0-9]*
Date: Mon, 18 Jan 2010 10:14:00 -0000	[thread overview]
Message-ID: <20100118101342.GP6667@adacore.com> (raw)
In-Reply-To: <20100118101155.GO6667@adacore.com>

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

[please ignore the first copy - there were a couple of typos in
the ChangeLog which I had fixed, but forgot to save before sending]

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.

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: 1307 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.
    
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 \

  reply	other threads:[~2010-01-18 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 10:12 Joel Brobecker
2010-01-18 10:14 ` Joel Brobecker [this message]
2010-01-19 10:24   ` Joel Brobecker
2010-01-30 15:07   ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100118101342.GP6667@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox