From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16643 invoked by alias); 23 May 2005 10:49:02 -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 16203 invoked by uid 22791); 23 May 2005 10:48:34 -0000 Received: from miranda.se.axis.com (HELO miranda.se.axis.com) (193.13.178.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 23 May 2005 10:48:34 +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 j4NAmTNc029725; Mon, 23 May 2005 12:48:29 +0200 Message-ID: <4291B4FF.9090907@axis.com> Date: Mon, 23 May 2005 11:27: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> <4284C537.9060106@axis.com> <01c557e2$Blat.v2.4$b5db4a00@zahav.net.il> In-Reply-To: <01c557e2$Blat.v2.4$b5db4a00@zahav.net.il> Content-Type: multipart/mixed; boundary="------------010207090901060804060709" X-SW-Source: 2005-05/txt/msg00513.txt.bz2 This is a multi-part message in MIME format. --------------010207090901060804060709 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 998 Eli Zaretskii wrote: > > @item is only valid inside a @table, so @end table needs to be moved > after the 2 new @items you added. (It is worthwhile to try to produce > the manual after you make a change in the *.texinfo files, since then > makeinfo will point out any problems.) Got it. > What are CRIS_MODE_GURU and CRIS_MODE_NORMAL? are they literal strings > or some symbols? That is, do I type > > (gdb) set cris-mode CRIS_MODE_GURU > > ? If so, why are they in CAPS? Now that you mention it, it does look strange. I changed it to 'guru' and 'normal' (both in the code and the documentation). >>+@item show cris-mode >>+Show the current CRIS mode. > > > The @end table should go after this part. Fixed. > Thanks for a timely response. Thank you. Committed the following: 2005-05-23 Orjan Friberg * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi documentation. Add documentation for cris-mode. -- Orjan Friberg Axis Communications --------------010207090901060804060709 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" Content-length: 1563 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.255 diff -u -r1.255 gdb.texinfo --- gdb.texinfo 20 May 2005 14:58:38 -0000 1.255 +++ gdb.texinfo 23 May 2005 10:39:02 -0000 @@ -14665,21 +14665,30 @@ @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. + +@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{guru} (the default is @samp{normal}). + +@item show cris-mode +Show the current CRIS mode. @end table @node Super-H --------------010207090901060804060709--