From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31956 invoked by alias); 20 Sep 2009 15:28:03 -0000 Received: (qmail 31945 invoked by uid 22791); 20 Sep 2009 15:28:02 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Sep 2009 15:27:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 155722BAB4C; Sun, 20 Sep 2009 11:27:56 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fTod9UF0XAQl; Sun, 20 Sep 2009 11:27:56 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 40C462BABF7; Sun, 20 Sep 2009 11:27:55 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 005D7F5935; Sun, 20 Sep 2009 08:27:41 -0700 (PDT) Date: Sun, 20 Sep 2009 15:28:00 -0000 From: Joel Brobecker To: Paul Pluzhnikov Cc: Jack Howarth , gdb@sourceware.org Subject: Re: [ANNOUNCEMENT] GDB 7.0 release process created Message-ID: <20090920152741.GR7961@adacore.com> References: <20090920025432.GA22104@bromo.med.uc.edu> <8ac60eac0909192050g256a1076r3e28fd0a8cfd7f41@mail.gmail.com> <20090920143231.GQ7961@adacore.com> <8ac60eac0909200802m45f2675epa6e56001af4b491@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0909200802m45f2675epa6e56001af4b491@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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-09/txt/msg00243.txt.bz2 > The patch (I believe) actually solves a problem, not just suppresses > complaints: without it find_pc_section may find a "random" .text > section from foo.o, and things go downhill from there. With the patch, > foo.o is not inserted into the section map, so find_pc_section returns > correct .text section (from a.exe or foo.dylib), and everything else > works. My understand was that the sections from the .o objfiles was already filtered out from the section map (after emitting the complaint). So the debugger should still find the correct section. -- Joel