From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20779 invoked by alias); 3 Jun 2012 17:37:55 -0000 Received: (qmail 20767 invoked by uid 22791); 3 Jun 2012 17:37:54 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 03 Jun 2012 17:37:40 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q53Hbc9J001106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 3 Jun 2012 13:37:38 -0400 Received: from host2.jankratochvil.net (ovpn-116-47.ams2.redhat.com [10.36.116.47]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q53HbYmx015169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 3 Jun 2012 13:37:37 -0400 Date: Sun, 03 Jun 2012 17:37:00 -0000 From: Jan Kratochvil To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL Message-ID: <20120603173734.GA24877@host2.jankratochvil.net> References: <20120603171700.GB20314@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00068.txt.bz2 On Sun, 03 Jun 2012 19:29:15 +0200, Andreas Schwab wrote: > Jan Kratochvil writes: > > + (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s > > + .bss as appropriate. > > What about .sdata or .sbss (or whatever other section the compiler > chooses)? As I stated I do not know how to easily do a real fix of this testcase so I just made non-regressing improvement for the platforms I regression test. IMO a real fix is to implement add-symbol-file to (also) accept full displacement but this seems to be outside of the scope of this testfile/fixup and I have too many open other work to get into another task. If you state non-existing sections GDB will make a warning in such case. (Sure the testcase can ignore such warning.) Thanks, Jan