OSDN Git Service

2005-05-13 Orjan Friberg <orjanf@axis.com>
authorOrjan Friberg <orjanf@axis.com>
Fri, 13 May 2005 15:17:37 +0000 (15:17 +0000)
committerOrjan Friberg <orjanf@axis.com>
Fri, 13 May 2005 15:17:37 +0000 (15:17 +0000)
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.

gdb/ChangeLog
gdb/cris-tdep.c

index 3593eb1..9cf56d7 100644 (file)
@@ -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
index 8b50002..206fe17 100644 (file)
@@ -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);