This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit/cris] Add guru mode setting for CRISv32
> Date: Fri, 13 May 2005 17:18:15 +0200
> From: Orjan Friberg <orjan.friberg@axis.com>
> CC: gdb-patches@sources.redhat.com
>
> I'm sorry; I hadn't even realized there was a CRIS section in the manual.
>
> Ok to commit?
>
> 2005-05-13 Orjan Friberg <orjanf@axis.com>
>
> * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
> documentation. Add documentation for cris-mode.
Yes, but...
> @item show cris-dwarf2-cfi
> Show the current state of using DWARF-2 CFI.
> @end table
>
> +@item set cris-mode @var{mode}
@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.)
> +@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}).
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?
> +@item show cris-mode
> +Show the current CRIS mode.
The @end table should go after this part.
Thanks for a timely response.