From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25385 invoked by alias); 8 Sep 2008 11:45:56 -0000 Received: (qmail 25377 invoked by uid 22791); 8 Sep 2008 11:45:55 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Sep 2008 11:45:13 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id m88Bj4S3146054 for ; Mon, 8 Sep 2008 11:45:04 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m88Bj46V2822268 for ; Mon, 8 Sep 2008 13:45:04 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m88Bj1Qa030637 for ; Mon, 8 Sep 2008 13:45:01 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m88Bj171030625; Mon, 8 Sep 2008 13:45:01 +0200 Message-Id: <200809081145.m88Bj171030625@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 8 Sep 2008 13:45:01 +0200 Subject: Re: [rfc] [11/18] Cell multi-arch: Target description infrastructure To: eliz@gnu.org Date: Mon, 08 Sep 2008 11:45:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: from "Eli Zaretskii" at Sep 08, 2008 06:08:21 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2008-09/txt/msg00160.txt.bz2 Eli Zaretskii wrote: > > +@var{arch} is an architecture name from the same selection > > +accepted by @code{set architecture} (@pxref{Targets, ,Specifying a > > +Debugging Target}). > > I don't understand the purpose of "the same" here. Same as what? This element accepts the same set of architecture names as the set accepted by the "set architecture" command. The wording I've used is copied above is copied from the description of the element (which also accepts the same set of architecture names). If you can suggest a clearer way to express this, I think both places should be fixed ... > This begs a continuation: > > The way to describe this capability with @samp{} is as > follows: > > @smallexample > ... > @end smallexample Added. See below for an updated patch. Thanks, Ulrich Index: src/gdb/doc/gdb.texinfo =================================================================== --- src.orig/gdb/doc/gdb.texinfo +++ src/gdb/doc/gdb.texinfo @@ -27586,6 +27586,7 @@ are explained further below. @r{[}@var{architecture}@r{]} + @r{[}@var{compatible}@dots{}@r{]} @r{[}@var{feature}@dots{}@r{]} @end smallexample @@ -27641,6 +27642,32 @@ An @samp{} element has thi accepted by @code{set architecture} (@pxref{Targets, ,Specifying a Debugging Target}). +@subsection Compatible Architecture +@cindex + +A @samp{} element has this form: + +@smallexample + @var{arch} +@end smallexample + +@var{arch} is an architecture name from the same selection +accepted by @code{set architecture} (@pxref{Targets, ,Specifying a +Debugging Target}). + +A @samp{} element is used to specify that the target +is able to run binaries in some other than the main target architecture +given by the @samp{} element. For example, on the +Cell Broadband Engine, the main architecture is @code{powerpc:common} +or @code{powerpc:common64}, but the system is able to run binaries +in the @code{spu} architecture as well. The way to describe this +capability with @samp{} is as follows: + +@smallexample + @code{powerpc:common} + @code{spu} +@end smallexample + @subsection Features @cindex -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com