From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17138 invoked by alias); 4 Mar 2012 23:08:28 -0000 Received: (qmail 17126 invoked by uid 22791); 4 Mar 2012 23:08:27 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Mar 2012 23:08:13 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id EA3D72F78005; Sun, 4 Mar 2012 23:08:11 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AelnNYO2lPOk; Sun, 4 Mar 2012 23:08:10 +0000 (GMT) Received: from [192.168.4.131] (aapie.schuilenburg.org [82.153.175.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Alexander Schuilenburg", Issuer "StartCom Class 2 Primary Intermediate Client CA" (verified OK)) (Authenticated sender: alexs@ecoscentric.com) by mail.ecoscentric.com (Postfix) with ESMTP id 879C22F78001; Sun, 4 Mar 2012 23:08:10 +0000 (GMT) Message-ID: <4F53F5D9.7030402@ecoscentric.com> Date: Sun, 04 Mar 2012 23:08:00 -0000 From: Alex Schuilenburg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Sergei Gavrikov CC: Ilija Kocho , eCos developers Subject: Re: eCos GNU tools 4.6.2-20120125 ready for testing [Was Re: Gnutools: consideration for upgrade to GCC 4.6] References: <4F106345.4080902@siva.com.mk> <4F11574D.9070002@dallaway.org.uk> <4F11AC54.7000902@siva.com.mk> <4F1CB41C.90900@jifvik.org> <4F1DA9A0.5070702@siva.com.mk> <4F1FF5AD.4010901@ecoscentric.com> <4F39887A.5050905@siva.com.mk> <4F50F700.5080902@ecoscentric.com> <4F521D6A.4010500@siva.com.mk> <4F52B2C8.4010809@schuilenburg.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-03/txt/msg00006.txt.bz2 On 04/03/2012 17:49, Sergei Gavrikov wrote: > [...] > > Hi Alex > > I just wonder, is there > > set cyg_test_is_simulator=0 > > line in your gdbinit file? We don't use gdbint. Our testfarm uses a mixture of perl and expect to drive the tests, mainly so we can add additional automatic diagnostic code when something goes wrong. Anyway, as I mentioned, the tests do not even hit the initial cyg_test_init breakpoint so they do not get to that stage. > [...] > > > GDB 7.3.1 > > (gdb) set cyg_test_is_simulator=0 > No symbol "cyg_test_is_simulator" in current context. > > IMHO, this claim is okay, adn GDB 7.3.1 does not process the next lines in > gdbinit. It is OK. Not as bad as some versions of gdb which interpreted no symbol as NULL and so would write 0 to NULL. They always gave interesting results, but the gdb code segment below worked around this: if &cyg_test_is_simulator!=0 set cyg_test_is_simulator=0 end FWIW, using gdbinit or user-defined command files does not always work for this exact reason - gdb will stop on the first error. This is why we have our own scripts, although you could also use the gui configtool which uses a simplistic but reasonable approach. However, dropping "set cyg_test_is_simulator=0" for running tests on hardware is a good idea since it will be zero as it is in .bss. You could try the code segment above as another alternative. -- Alex