From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1585 invoked by alias); 8 Jul 2014 08:43:18 -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 1553 invoked by uid 89); 8 Jul 2014 08:43:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 08 Jul 2014 08:43:16 +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 s688hBet006519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 8 Jul 2014 04:43:11 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s688h9vZ012298; Tue, 8 Jul 2014 04:43:10 -0400 Message-ID: <53BBAF1C.6020404@redhat.com> Date: Tue, 08 Jul 2014 08:43:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: lgustavo@codesourcery.com, Samuel Bronson CC: "'gdb-patches@sourceware.org'" Subject: Re: [PATCH] Fix gdb.base/code_elim.exp failures for PowerPC 32-bit References: <53B28365.1010508@codesourcery.com> <87k37ok45r.fsf@naesten.mooo.com> <53BB8603.6050201@codesourcery.com> In-Reply-To: <53BB8603.6050201@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-07/txt/msg00141.txt.bz2 On 07/08/2014 06:47 AM, Luis Machado wrote: > On 07/08/2014 02:52 AM, Samuel Bronson wrote: >> Luis Machado writes: >>> add-symbol-file gdb.base/code_elim2 0x200000 -s .data 0x210000 -s .bss 0x220000^M ^^^^^^^^^^^^^^ [snip] >>> Reading symbols from gdb.base/code_elim2...warning: section .data not >>> found in gdb.base/code_elim2^M [snip] >> Is tweaking the testcase really the best approach here? Shouldn't GDB >> just be less picky? >> > > Either solution is fine with me, but the warning is actually somewhat > informative since the .data section is relatively common. That doesn't make sense in this context. GDB is not being picky -- the warning is coming out because the user _explicitly_ specified an address for the .data section, not because .data is special in any way. -- Pedro Alves