From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23712 invoked by alias); 18 Jun 2009 09:20:08 -0000 Received: (qmail 23700 invoked by uid 22791); 18 Jun 2009 09:20:07 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtagate7.uk.ibm.com (HELO mtagate7.uk.ibm.com) (195.212.29.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Jun 2009 09:19:57 +0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate7.uk.ibm.com (8.14.3/8.13.8) with ESMTP id n5I9JiI5200798 for ; Thu, 18 Jun 2009 09:19:44 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5I9JifB1466568 for ; Thu, 18 Jun 2009 10:19:44 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5I9JhEc004750 for ; Thu, 18 Jun 2009 10:19:44 +0100 Received: from leonard.localnet (dyn-9-152-224-31.boeblingen.de.ibm.com [9.152.224.31]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n5I9Jh9H004739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jun 2009 10:19:43 +0100 Message-Id: <200906180919.n5I9Jh9H004739@d06av01.portsmouth.uk.ibm.com> From: Ken Werner Subject: Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections. To: Paul Pluzhnikov , gdb-patches@sourceware.org Date: Thu, 18 Jun 2009 09:20: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-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: 2009-06/txt/msg00466.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