From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21511 invoked by alias); 9 Sep 2008 10:47:22 -0000 Received: (qmail 21490 invoked by uid 22791); 9 Sep 2008 10:47:20 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Sep 2008 10:46:37 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id m89AkOfL149088 for ; Tue, 9 Sep 2008 10:46:24 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 m89AkOG9700570 for ; Tue, 9 Sep 2008 12:46:24 +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 m89AkLxw028284 for ; Tue, 9 Sep 2008 12:46:21 +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 m89AkLpG028281; Tue, 9 Sep 2008 12:46:21 +0200 Message-Id: <200809091046.m89AkLpG028281@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 9 Sep 2008 12:46:21 +0200 Subject: Re: [rfc] [11/18] Cell multi-arch: Target description infrastructure To: eliz@gnu.org Date: Tue, 09 Sep 2008 10:47:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: from "Eli Zaretskii" at Sep 08, 2008 10:24:13 PM 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/msg00179.txt.bz2 Eli Zaretskii wrote: > Then I suggest to rephrase: > > +@var{arch} is one of the architectures from the set accepted by > +@code{set architecture} (@pxref{Targets, ,Specifying a Debugging > +Target}). > > > The wording I've used is copied above is copied from the description > > of the element > > Please fix that one as well. > > > See below for an updated patch. > > Thanks, this is fine (with the above wording change). Thanks! For reference, here's the current version of the gdb.texinfo changes. Bye, 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 @@ -27637,9 +27638,33 @@ An @samp{} element has thi @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}). +@var{arch} is one of the architectures from the set 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 one of the architectures from the set 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