From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3916 invoked by alias); 25 Apr 2012 11:02:40 -0000 Received: (qmail 3905 invoked by uid 22791); 25 Apr 2012 11:02:39 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 11:02:19 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SMzzG-0001KP-D1 from Yao_Qi@mentor.com ; Wed, 25 Apr 2012 04:02:18 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Apr 2012 04:02:18 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Wed, 25 Apr 2012 04:02:17 -0700 Message-ID: <4F97DA04.5060707@codesourcery.com> Date: Wed, 25 Apr 2012 11:27:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 MIME-Version: 1.0 To: Eli Zaretskii CC: Subject: [committed] : [PATCH] Document board settting References: <1335279956-7548-1-git-send-email-yao@codesourcery.com> <83haw8fi3r.fsf@gnu.org> <4F97BDD7.3080106@codesourcery.com> <837gx4f7o8.fsf@gnu.org> In-Reply-To: <837gx4f7o8.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00857.txt.bz2 On 04/25/2012 06:05 PM, Eli Zaretskii wrote: >> Date: Wed, 25 Apr 2012 17:03:19 +0800 >> From: Yao Qi >> CC: >> >> +@section Board settings >> +In @value{GDBN} testsuite, the tests can be configured or customized in the board >> +file by means of @dfn{Board Settings}. Here are the supported board settings: >> + >> +If the feature which is about the board setting variable is required in test >> +cases, the corresponding board setting variable should be checked in test cases. > > This should be before the sentence saying "Here are the supported > board settings". Like this: > > In @value{GDBN} testsuite, the tests can be configured or customized > in the board file by means of @dfn{Board Settings}. Each setting > should be consulted by test cases that depend on the corresponding > feature. > > Here are the supported board settings: > > The >> +location can be either the full file name of GDBserver, or the path relative to >> +testsuite directory in build dir. > > Suggest a slight rewording: > > The location is a file name of GDBserver that can be either absolute or > relative to the testsuite subdirectory of the build directory. > >> +@item in_proc_agent >> +The location of in-process agent. If in-process agent other than its default >> +location is used in test, specify the location of in-process agent in >> +this variable. The location can be either the full file name or the path relate >> +to testsuite directory in build dir. > > Same here. > > OK with those changes. > This is what I committed. http://sourceware.org/ml/gdb-cvs/2012-04/msg00201.html -- Yao (齐尧) gdb/doc: 2012-04-25 Yao Qi * gdbint.texinfo (Testsuite): New section `Board settings'. --- gdb/doc/gdbint.texinfo | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index fcc106c..267a6eb 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -7873,6 +7873,57 @@ gdb_test "python print ttype.template_argument(2)" "&C::c" @end smallexample @end table +@section Board settings +In @value{GDBN} testsuite, the tests can be configured or customized in the board +file by means of @dfn{Board Settings}. Each setting should be consulted by +test cases that depend on the corresponding feature. + +Here are the supported board settings: + +@table @code + +@item gdb,cannot_call_functions +The board does not support inferior call, that is, invoking inferior functions +in @value{GDBN}. +@item gdb,can_reverse +The board supports reverse execution. +@item gdb,no_hardware_watchpoints +The board does not support hardware watchpoints. +@item gdb,nofileio +@value{GDBN} is unable to intercept target file operations in remote and perform +them on the host. +@item gdb,noinferiorio +The board is unable to provide I/O capability to the inferior. +@c @item gdb,noresults +@c NEED DOCUMENT. +@item gdb,nosignals +The board does not support signals. +@item gdb,skip_huge_test +Skip time-consuming tests on the board with slow connection. +@item gdb,skip_float_tests +Skip tests related to float points on target board. +@item gdb,use_precord +The board supports process record. +@item gdb_server_prog +The location of GDBserver. If GDBserver somewhere other than its default +location is used in test, specify the location of GDBserver in this variable. +The location is a file name of GDBserver that can be either absolute or +relative to testsuite subdirectory in build directory. +@item in_proc_agent +The location of in-process agent. If in-process agent other than its default +location is used in test, specify the location of in-process agent in +this variable. The location is a file name of in-process agent that can be +either absolute or relative to testsuite subdirectory in build directory. +@item noargs +@value{GDBN} does not support argument passing for inferior. +@item no_long_long +The board does not support type @code{long long}. +@c @item use_cygmon +@c NEED DOCUMENT. +@item use_gdb_stub +The tests are running with gdb stub. +@end table + @node Hints @chapter Hints -- 1.7.0.4