From edfc989e72c1e1d27fd88cc991b111adebe800db Mon Sep 17 00:00:00 2001 From: Orjan Friberg Date: Fri, 13 May 2005 15:17:37 +0000 Subject: [PATCH] 2005-05-13 Orjan Friberg * cris-tdep.c (_initialize_cris_tdep): Improve help strings for cris-version, cris-mode, and cris-dwarf2-cfi settings. --- gdb/ChangeLog | 5 +++++ gdb/cris-tdep.c | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3593eb13e0..9cf56d7668 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2005-05-13 Orjan Friberg + * cris-tdep.c (_initialize_cris_tdep): Improve help strings for + cris-version, cris-mode, and cris-dwarf2-cfi settings. + +2005-05-13 Orjan Friberg + * 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 8b5000200b..206fe178f5 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); -- 2.11.0