This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit/cris] Add guru mode setting for CRISv32


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 <orjanf@axis.com>

	* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
	documentation.  Add documentation for cris-mode.

--
Orjan Friberg
Axis Communications

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]