From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7026 invoked by alias); 18 Aug 2009 17:31:26 -0000 Received: (qmail 6921 invoked by uid 22791); 18 Aug 2009 17:31:24 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Aug 2009 17:31:13 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id E16FF140FA; Tue, 18 Aug 2009 10:31:10 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id D5AC2CD908; Tue, 18 Aug 2009 10:31:10 -0700 (PDT) Message-ID: <4A8AE494.1020508@vmware.com> Date: Tue, 18 Aug 2009 18:18:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Paul Pluzhnikov CC: Ulrich Weigand , Tom Tromey , gdb-patches ml Subject: Re: [patch] Speed up find_pc_section References: <200908171927.n7HJRYPE029205@d12av02.megacenter.de.ibm.com> <200908171954.n7HJsPRh012287@d12av02.megacenter.de.ibm.com> <8ac60eac0908171415m47d28495t5311a0d2c7616922@mail.gmail.com> In-Reply-To: <8ac60eac0908171415m47d28495t5311a0d2c7616922@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-08/txt/msg00286.txt.bz2 Paul Pluzhnikov wrote: > On Mon, Aug 17, 2009 at 12:54 PM, Ulrich Weigand wrote: > >> Section can partially overlap with overlays ... > > Yes, the same thing also is happening on Darwin; some discussion here: > http://sourceware.org/ml/gdb-patches/2009-08/msg00201.html > > The thing is: when the assumptions are violated, (AFAICT) find_pc_section > couldn't have worked correctly before my patch, except by accident. > > What is the simplest way to test overlays? If you can build a d10v or m32r toolchain, you can run the gdb overlay tests against the simulator. That is, I hope they still work -- I haven't touched them in years...