From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25431 invoked by alias); 4 Jun 2012 02:16:14 -0000 Received: (qmail 25421 invoked by uid 22791); 4 Jun 2012 02:16:13 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,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; Mon, 04 Jun 2012 02:15:59 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SbMpq-00076c-KR from Yao_Qi@mentor.com ; Sun, 03 Jun 2012 19:15:58 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 3 Jun 2012 19:15:57 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Sun, 3 Jun 2012 19:15:56 -0700 Message-ID: <4FCC1A58.2050501@codesourcery.com> Date: Mon, 04 Jun 2012 02:16:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Jan Kratochvil CC: Subject: Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL References: <20120603171700.GB20314@host2.jankratochvil.net> In-Reply-To: <20120603171700.GB20314@host2.jankratochvil.net> 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-06/txt/msg00069.txt.bz2 On 06/04/2012 01:17 AM, Jan Kratochvil wrote: > with_test_prefix "order1" { > + gdb_test "add-symbol-file ${binfile1} 0x100000 -s .bss 0x120000" \ > + "Reading symbols from .*${testfile1}\\.\\.\\.done\\." \ > + "add-symbol-file ${testfile1} 0x100000" \ > + "add symbol table from file \".*${testfile1}\" at.*\\(y or n\\) " \ > + "y" > + > + gdb_test "add-symbol-file ${binfile2} 0x200000 -s .data 0x210000 -s .bss 0x220000" \ > + "Reading symbols from .*${testfile2}\\.\\.\\.done\\." \ > + "add-symbol-file ${testfile2} 0x200000" \ > + "add symbol table from file \".*${testfile2}\" at.*\\(y or n\\) " \ > + "y" Hi Jan, We should first check whether '.bss' exists (by "maint info sections") and then run this part conditionally. We don't have '.bss' on some ports, such as tic6x-elf. -- Yao (齐尧)