aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cris-tdep.c10
2 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3593eb1..9cf56d7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2005-05-13 Orjan Friberg <orjanf@axis.com>
+
* cris-tdep.c (usr_cmd_cris_version): Change type to int.
(cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
(struct gdbarch_tdep): Change type of cris_version to int. Add
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 8b50002..206fe17 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -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);