From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17305 invoked by alias); 18 Jun 2009 09:08:33 -0000 Received: (qmail 17295 invoked by uid 22791); 18 Jun 2009 09:08:32 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtagate6.uk.ibm.com (HELO mtagate6.uk.ibm.com) (195.212.29.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Jun 2009 09:08:22 +0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate6.uk.ibm.com (8.14.3/8.13.8) with ESMTP id n5I987VA078592 for ; Thu, 18 Jun 2009 09:08:07 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5I987AK1470520 for ; Thu, 18 Jun 2009 10:08:07 +0100 Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5I987pB016116 for ; Thu, 18 Jun 2009 10:08:07 +0100 Received: from leonard.localnet (dyn-9-152-224-31.boeblingen.de.ibm.com [9.152.224.31]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n5I983Ft016002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jun 2009 10:08:07 +0100 Message-Id: <200906180908.n5I983Ft016002@d06av04.portsmouth.uk.ibm.com> From: Ken Werner Subject: Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections. To: Paul Pluzhnikov , gdb@sourceware.org Date: Thu, 18 Jun 2009 09:08:00 -0000 References: <20090527001157.934BD76BC0@localhost> <8ac60eac0905280956v79d9a84apad9a4370212283b9@mail.gmail.com> <8ac60eac0906101839t4d3978fyc1c6d3b3e2eccb6e@mail.gmail.com> <8ac60eac0906101842y2d2fc9fco331cb4336d9508d0@mail.gmail.com> <8ac60eac0906161342m67c30151lc7f685e0eb36e41f@mail.gmail.com> <8ac60eac0906161407s6498913cu5e50e930d599be77@mail.gmail.com> User-Agent: KNode/0.99.01 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7Bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00185.txt.bz2 Paul Pluzhnikov wrote: > On Tue, Jun 16, 2009 at 1:58 PM, Tom Tromey wrote: > >> This patch ok. > > So committed. > > Thanks, Hi, I noticed gdb/dwarf2-frame.c:1922 (and :1950) calls dwarf2_get_section_info with unsigned long* (5th argument). The function expects a bfd_size_type * (a pointer to an unsigned long long on my machine). Thus the compiler issues a warning and the gdb build fails because of -Werror. Is it sufficient to just cast to (bfd_size_type *) or am I missing something? Regards -ken