From: Orjan Friberg <orjan.friberg@axis.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit/cris] Add guru mode setting for CRISv32
Date: Fri, 13 May 2005 17:37:00 -0000 [thread overview]
Message-ID: <4284C531.8070101@axis.com> (raw)
In-Reply-To: <01c557bd$Blat.v2.4$cc59cd80@zahav.net.il>
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
Eli Zaretskii wrote:
> Also, please improve the doc strings of the new setting you added:
> they at least should list the possible settings for cris-mode.
Committed the following:
2005-05-13 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.
--
Orjan Friberg
Axis Communications
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1587 bytes --]
Index: cris-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/cris-tdep.c,v
retrieving revision 1.128
diff -u -p -r1.128 cris-tdep.c
--- cris-tdep.c 13 May 2005 12:26:54 -0000 1.128
+++ cris-tdep.c 13 May 2005 15:08:06 -0000
@@ -3952,7 +3952,9 @@ _initialize_cris_tdep (void)
&usr_cmd_cris_version,
_("Set the current CRIS version."),
_("Show the current CRIS version."),
- _("Set if autodetection fails."),
+ _("\
+Set to 10 for CRISv10 or 32 for CRISv32 if autodetection fails.\n\
+Defaults to 10. "),
set_cris_version,
NULL, /* FIXME: i18n: Current CRIS version is %s. */
&setlist, &showlist);
@@ -3961,7 +3963,9 @@ _initialize_cris_tdep (void)
cris_modes, &usr_cmd_cris_mode,
_("Set the current CRIS mode."),
_("Show the current CRIS mode."),
- _("Set if autodetection fails."),
+ _("\
+Set to CRIS_MODE_GURU when debugging in guru mode.\n\
+Makes GDB use the NRP register instead of the ERP register in certain cases."),
set_cris_mode,
NULL, /* FIXME: i18n: Current CRIS version is %s. */
&setlist, &showlist);
@@ -3970,7 +3974,7 @@ _initialize_cris_tdep (void)
&usr_cmd_cris_dwarf2_cfi,
_("Set the usage of Dwarf-2 CFI for CRIS."),
_("Show the usage of Dwarf-2 CFI for CRIS."),
- _("Set to \"off\" if using gcc-cris < R59."),
+ _("Set this to \"off\" if using gcc-cris < R59."),
set_cris_dwarf2_cfi,
NULL, /* FIXME: i18n: Usage of Dwarf-2 CFI for CRIS is %d. */
&setlist, &showlist);
next prev parent reply other threads:[~2005-05-13 15:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 13:18 Orjan Friberg
2005-05-13 15:18 ` Eli Zaretskii
2005-05-13 17:37 ` Orjan Friberg [this message]
2005-05-14 6:10 ` Eli Zaretskii
2005-05-13 17:42 ` Orjan Friberg
2005-05-14 7:13 ` Eli Zaretskii
2005-05-23 11:27 ` Orjan Friberg
2005-05-24 1:36 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4284C531.8070101@axis.com \
--to=orjan.friberg@axis.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox