From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 507 invoked by alias); 13 May 2005 15:18:49 -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 32453 invoked from network); 13 May 2005 15:18:18 -0000 Received: from unknown (HELO miranda.se.axis.com) (193.13.178.8) by sourceware.org with SMTP; 13 May 2005 15:18:18 -0000 Received: from [10.92.19.1] (ironmaiden.se.axis.com [10.92.19.1]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id j4DFIDm8022285; Fri, 13 May 2005 17:18:13 +0200 Message-ID: <4284C537.9060106@axis.com> Date: Fri, 13 May 2005 17:42:00 -0000 From: Orjan Friberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: [commit/cris] Add guru mode setting for CRISv32 References: <42849D2B.9030905@axis.com> <01c557bd$Blat.v2.4$cc59cd80@zahav.net.il> In-Reply-To: <01c557bd$Blat.v2.4$cc59cd80@zahav.net.il> Content-Type: multipart/mixed; boundary="------------060308020601010703060306" X-SW-Source: 2005-05/txt/msg00328.txt.bz2 This is a multi-part message in MIME format. --------------060308020601010703060306 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 694 Eli Zaretskii wrote: > > Thanks. > > These patches introduced new user-level commands, but didn't include > any documentation for them, neither in the command's built-in > documentation nor in the manual. Please in the future _always_ > accompany user-level changes with a suitable documentation changes. I'm sorry; I hadn't even realized there was a CRIS section in the manual. Ok to commit? 2005-05-13 Orjan Friberg * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi documentation. Add documentation for cris-mode. (I will be gone for most of next week and will be unresponsive at best during that time.) -- Orjan Friberg Axis Communications --------------060308020601010703060306 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" Content-length: 1629 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.253 diff -u -r1.253 gdb.texinfo --- gdb.texinfo 12 May 2005 09:05:42 -0000 1.253 +++ gdb.texinfo 13 May 2005 15:03:53 -0000 @@ -14665,23 +14665,32 @@ @table @code @item set cris-version @var{ver} @cindex CRIS version -Set the current CRIS version to @var{ver}. The CRIS version affects -register names and sizes. This command is useful in case -autodetection of the CRIS version fails. +Set the current CRIS version to @var{ver}, either @samp{10} or @samp{32}. +The CRIS version affects register names and sizes. This command is useful in +case autodetection of the CRIS version fails. @item show cris-version Show the current CRIS version. @item set cris-dwarf2-cfi @cindex DWARF-2 CFI and CRIS -Set the usage of DWARF-2 CFI for CRIS debugging. The default is off -if using @code{gcc-cris} whose version is below @code{R59}, otherwise -on. +Set the usage of DWARF-2 CFI for CRIS debugging. The default is @samp{on}. +Change to @samp{off} when using @code{gcc-cris} whose version is below +@code{R59}. @item show cris-dwarf2-cfi Show the current state of using DWARF-2 CFI. @end table +@item set cris-mode @var{mode} +@cindex CRIS mode +Set the current CRIS mode to @var{mode}. It should only be changed when +debugging in guru mode, in which case it should be set to +@samp{CRIS_MODE_GURU} (the default is @samp{CRIS_MODE_NORMAL}). + +@item show cris-mode +Show the current CRIS mode. + @node Super-H @subsection Renesas Super-H @cindex Super-H --------------060308020601010703060306--