From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29420 invoked by alias); 16 Jun 2009 20:59:08 -0000 Received: (qmail 29409 invoked by uid 22791); 16 Jun 2009 20:59:07 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Jun 2009 20:59:00 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n5GKww4B019600 for ; Tue, 16 Jun 2009 16:58:58 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5GKwwuT001572 for ; Tue, 16 Jun 2009 16:58:58 -0400 Received: from opsy.redhat.com (vpn-13-48.rdu.redhat.com [10.11.13.48]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5GKwvW4024478; Tue, 16 Jun 2009 16:58:57 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id E32963784BE; Tue, 16 Jun 2009 14:58:56 -0600 (MDT) To: Paul Pluzhnikov Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections. References: <20090527001157.934BD76BC0@localhost> <8ac60eac0905280956v79d9a84apad9a4370212283b9@mail.gmail.com> <8ac60eac0906101839t4d3978fyc1c6d3b3e2eccb6e@mail.gmail.com> <8ac60eac0906101842y2d2fc9fco331cb4336d9508d0@mail.gmail.com> <8ac60eac0906161342m67c30151lc7f685e0eb36e41f@mail.gmail.com> From: Tom Tromey Reply-To: Tom Tromey Date: Tue, 16 Jun 2009 20:59:00 -0000 In-Reply-To: <8ac60eac0906161342m67c30151lc7f685e0eb36e41f@mail.gmail.com> (Paul Pluzhnikov's message of "Tue\, 16 Jun 2009 13\:42\:58 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00412.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: Paul> That's what "&& (sectp->flags & SEC_RELOC) == 0)" check before Paul> mmap is for. In symfile_relocate_debug_section(): Oops, I missed that. Sorry about that. This patch ok. Thanks. Tom