From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8836 invoked by alias); 15 Sep 2005 19:06:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8597 invoked by uid 22791); 15 Sep 2005 19:06:03 -0000 Received: from e32.co.us.ibm.com (HELO e32.co.us.ibm.com) (32.97.110.130) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 15 Sep 2005 19:06:03 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j8FJ5vwP268912 for ; Thu, 15 Sep 2005 15:05:59 -0400 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j8FJ6NEX181368 for ; Thu, 15 Sep 2005 13:06:24 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j8FJ5tAc002198 for ; Thu, 15 Sep 2005 13:05:56 -0600 Received: from dyn9047022123-009047022095.beaverton.ibm.com (dyn9047022123-009047022095.beaverton.ibm.com [9.47.22.95]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j8FJ5ttN002140; Thu, 15 Sep 2005 13:05:55 -0600 From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: Eli Zaretskii Subject: [DOC PATCH] Re: [PATCH]*3 Re: [RFC] "info powerpc" Date: Thu, 15 Sep 2005 19:06:00 -0000 User-Agent: KMail/1.6.2 Cc: gdb-patches@sources.redhat.com References: <200509091633.02630.pgilliam@us.ibm.com> <200509141710.39794.pgilliam@us.ibm.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_rYcKDFBo598Dy7i" Message-Id: <200509151206.19558.pgilliam@us.ibm.com> X-SW-Source: 2005-09/txt/msg00110.txt.bz2 --Boundary-00=_rYcKDFBo598Dy7i Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 1284 On Wednesday 14 September 2005 20:33, Eli Zaretskii wrote: > > From: Paul Gilliam > > Date: Wed, 14 Sep 2005 17:10:39 -0700 > > > > The second, 'altivec_alias.patch', functions like the first, except that infcmd.c is not touched. Instead, an 'info powerpc altivec' command > > is added that turns itself into an alias for "info vector" the first time it's called. This can't be done with add_com_alias because the alias and > > the command being aliased are on different command chains. > > > > The final patch, 'no_more_altivec.patch' depreciates the "info powerpc" command prefix and changes the testsuite to use "info vector". To make > > this work, 'lookup_cmd_composition' in cli/cli-decode.c had to be changed so that a prefix command that has no sub-commands > > can be depreciated. > > Please accompany any changes to user-visible behavior (such as new > commands or changes in how existing command behave) with appropriate > changes to the user manual. Thanks. > > The "info powerpc" group of commands (all none of them) are not documented. If we decide to just get rid of it, then no user manual changes are needed. If we decide to keep it and make 'info powerpc altivec' an alias for "info vector", then we can use the attached doc patch. --Boundary-00=_rYcKDFBo598Dy7i Content-Type: text/x-diff; charset="utf-8"; name="doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="doc.patch" Content-length: 1482 ? doc.patch Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.278 diff -a -u -r1.278 gdb.texinfo --- gdb.texinfo 27 Aug 2005 12:51:28 -0000 1.278 +++ gdb.texinfo 15 Sep 2005 18:27:23 -0000 @@ -4991,6 +4991,7 @@ * Registers:: Registers * Floating Point Hardware:: Floating point hardware * Vector Unit:: Vector Unit +* PowerPC Features:: PowerPC hardware features * OS Information:: Auxiliary data provided by operating system * Memory Region Attributes:: Memory region attributes * Dump/Restore Files:: Copy between memory and a file @@ -6247,6 +6248,22 @@ layout vary depending on the hardware. @end table +@node PowerPC Features +@section PowerPC Features +@cindex PowerPC Features + +Some PowerPC chips have features that are in addition to the core functionality +of the architecture. Depending on the configuration, @value{GDBN} may be able +to give you information about the status of those features. + +@table @code +@kindex info powerpc altivec +@item info powerpc altivec +Display information about the Altivec unit. This will consist of the contents +of the Altivec registers @code(vr0) through @code(vr31), along with that of the +@code(vrsave) and @code(vsrc) registers. +@end table + @node OS Information @section Operating system auxiliary information @cindex OS information --Boundary-00=_rYcKDFBo598Dy7i--