From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24457 invoked by alias); 28 Jan 2014 18:20:09 -0000 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 Received: (qmail 24422 invoked by uid 89); 28 Jan 2014 18:20:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e24smtp02.br.ibm.com Received: from e24smtp02.br.ibm.com (HELO e24smtp02.br.ibm.com) (32.104.18.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 28 Jan 2014 18:20:08 +0000 Received: from /spool/local by e24smtp02.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 28 Jan 2014 16:20:03 -0200 Received: from d24dlp02.br.ibm.com (9.18.248.206) by e24smtp02.br.ibm.com (10.172.0.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 28 Jan 2014 16:20:00 -0200 Received: from d24relay02.br.ibm.com (d24relay02.br.ibm.com [9.13.184.26]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id 5FA291DC006A for ; Tue, 28 Jan 2014 13:20:00 -0500 (EST) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by d24relay02.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s0SIJNR448103448 for ; Tue, 28 Jan 2014 16:19:24 -0200 Received: from d24av02.br.ibm.com (localhost [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s0SIJxKq022266 for ; Tue, 28 Jan 2014 16:19:59 -0200 Received: from [9.18.235.172] (grandaddy.br.ibm.com [9.18.235.172]) by d24av02.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s0SIJxv9022260; Tue, 28 Jan 2014 16:19:59 -0200 Message-ID: <52E7F4CF.9070803@linux.vnet.ibm.com> Date: Tue, 28 Jan 2014 18:20:00 -0000 From: Edjunior Barbosa Machado User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ulrich Weigand CC: gdb-patches@sourceware.org Subject: Re: [PATCH] testsuite: Fix gdb.dwarf2/dw2-case-insensitive.exp testcase for ppc64 References: <201401281601.s0SG1lJW004119@d06av02.portsmouth.uk.ibm.com> In-Reply-To: <201401281601.s0SG1lJW004119@d06av02.portsmouth.uk.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14012818-2194-0000-0000-000007C36E30 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg01018.txt.bz2 On 01/28/2014 02:01 PM, Ulrich Weigand wrote: > If the problem is indeed that FUNC_lang_end is at the same location as > FUNC_symtab, maybe a better fix would be to add some padding in between > (e.g. a ".byte 0" after the FUNC_lang_end label)? Thanks Uli for the review. I've tested your suggestion and it fixed the problem on ppc64. It was also successfully tested on x86. If someone could take a look and check if this change doesn't affect the results on arm, that would be great. Thanks, -- Edjunior gdb/testsuite/ 2014-01-28 Edjunior Barbosa Machado * gdb.dwarf2/dw2-case-insensitive.c: Add padding after FUNC_lang_end label. --- gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c b/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c index 9ec7b25..48a0694 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c @@ -30,6 +30,7 @@ FUNC_lang (void) asm (".globl FUNC_lang_end"); asm ("FUNC_lang_end:"); +asm (".byte 0"); /* Symbol is present only in ELF .symtab. */ -- 1.7.9.5