From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30121 invoked by alias); 29 Aug 2012 11:11:58 -0000 Received: (qmail 30109 invoked by uid 22791); 29 Aug 2012 11:11:55 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Aug 2012 11:11:41 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 29 Aug 2012 12:11:39 +0100 Received: from [10.1.69.62] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 29 Aug 2012 12:13:37 +0100 Message-ID: <503DF8D2.8070807@arm.com> Date: Wed, 29 Aug 2012 11:11:00 -0000 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "dje@google.com" CC: gdb-patches@sourceware.org Subject: Re: [commit] Update help.exp References: In-Reply-To: X-MC-Unique: 112082912113913201 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable 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-08/txt/msg00847.txt.bz2 Hi, On 08/13/12 22:13, dje@google.com wrote: > Hi. > > fyi, I'm checking this in. > > 2012-08-13 Doug Evans > > * gdb.base/help.exp: Update expected output. > > Index: gdb.base/help.exp > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/help.exp,v > retrieving revision 1.59 > diff -u -p -r1.59 help.exp > --- gdb.base/help.exp 2 Jul 2012 17:53:19 -0000 1.59 > +++ gdb.base/help.exp 13 Aug 2012 21:12:44 -0000 > @@ -506,7 +506,7 @@ gdb_test "help show complaints" "Show ma > # test help show confirm > gdb_test "help show confirm" "Show whether to confirm potentially dange= rous operations\." "help show confirm" > # test help show convenience > -gdb_test "help show convenience" "Debugger convenience \\(\"\\\$foo\"\\)= variables\.\[\r\n\]+These variables are created when you assign them value= s;\[\r\n\]+thus, \"print \\\$foo=3D1\" gives \"\\\$foo\" the value 1\. Val= ues may be any type\.\[\r\n\]+A few convenience variables are given values = automatically:\[\r\n\]+\"\\\$_\"holds the last address examined with \"x\" = or \"info lines\",\[\r\n\]+\"\\\$__\" holds the contents of the last addres= s examined with \"x\"\." "help show convenience" > +gdb_test "help show convenience" "Debugger convenience \\(\"\\\$foo\"\\)= variables and functions\.\[\r\n\]+Convenience variables are created when y= ou assign them values;\[\r\n\]+thus, \"set \\\$foo=3D1\" gives \"\\\$foo\" = the value 1\. Values may be any type\.\[\r\n\]+A few convenience variables= are given values automatically:\[\r\n\]+\"\\\$_\"holds the last address ex= amined with \"x\" or \"info lines\",\[\r\n\]+\"\\\$__\" holds the contents = of the last address examined with \"x\"\.\[\r\n\]+Convenience functions are= defined via the Python API\." "help show convenience" > # test help show directories > gdb_test "help show directories" "Show the search path for finding sour= ce files\.\[\r\n\]+\\\$cwd in the path means the current working directory\= .\[\r\n\]+\\\$cdir in the path means the compilation directory of the sourc= e file\..*" "help show directories" > # test help show editing help.exp still fails with --without-python. "Convenience functions are=20 defined via the Python API" is printed only when HAVE_PYTHON is defined=20 (see http://sourceware.org/ml/gdb-patches/2012-08/msg00342.html). The following is the snippet of the log file that shows the failure. help show convenience^M Debugger convenience ("$foo") variables and functions.^M Convenience variables are created when you assign them values;^M thus, "set $foo=3D1" gives "$foo" the value 1. Values may be any type.^M ^M A few convenience variables are given values automatically:^M "$_"holds the last address examined with "x" or "info lines",^M "$__" holds the contents of the last address examined with "x".^M (gdb) FAIL: gdb.base/help.exp: help show convenience Thanks, Yufeng