From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 633 invoked by alias); 13 May 2005 15:18:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32395 invoked from network); 13 May 2005 15:18:13 -0000 Received: from unknown (HELO miranda.se.axis.com) (193.13.178.8) by sourceware.org with SMTP; 13 May 2005 15:18:13 -0000 Received: from [10.92.19.1] (ironmaiden.se.axis.com [10.92.19.1]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id j4DFI7m8022256; Fri, 13 May 2005 17:18:07 +0200 Message-ID: <4284C531.8070101@axis.com> Date: Fri, 13 May 2005 17:37:00 -0000 From: Orjan Friberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: [commit/cris] Add guru mode setting for CRISv32 References: <42849D2B.9030905@axis.com> <01c557bd$Blat.v2.4$cc59cd80@zahav.net.il> In-Reply-To: <01c557bd$Blat.v2.4$cc59cd80@zahav.net.il> Content-Type: multipart/mixed; boundary="------------030801050400080102030201" X-SW-Source: 2005-05/txt/msg00327.txt.bz2 This is a multi-part message in MIME format. --------------030801050400080102030201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 389 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 * cris-tdep.c (_initialize_cris_tdep): Improve help strings for cris-version, cris-mode, and cris-dwarf2-cfi settings. -- Orjan Friberg Axis Communications --------------030801050400080102030201 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" Content-length: 1587 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); --------------030801050400080102030201--