From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31943 invoked by alias); 4 Aug 2009 15:06:46 -0000 Received: (qmail 31930 invoked by uid 22791); 4 Aug 2009 15:06:45 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 Aug 2009 15:06:37 +0000 Received: from spaceape11.eur.corp.google.com (spaceape11.eur.corp.google.com [172.28.16.145]) by smtp-out.google.com with ESMTP id n74F6ZtP032143 for ; Tue, 4 Aug 2009 08:06:35 -0700 Received: from qyk1 (qyk1.prod.google.com [10.241.83.129]) by spaceape11.eur.corp.google.com with ESMTP id n74F6WHQ001616 for ; Tue, 4 Aug 2009 08:06:32 -0700 Received: by qyk1 with SMTP id 1so3703181qyk.31 for ; Tue, 04 Aug 2009 08:06:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.96.13 with SMTP id f13mr1784964qcn.36.1249398391852; Tue, 04 Aug 2009 08:06:31 -0700 (PDT) In-Reply-To: References: <8ac60eac0907161724v40e5bd8bg7877d8901b8d7b6e@mail.gmail.com> <8ac60eac0907170927x6314e81djc7f37e8a383dff2b@mail.gmail.com> <8ac60eac0907211318j11706eb3u2339901a832e2360@mail.gmail.com> Date: Tue, 04 Aug 2009 15:06:00 -0000 Message-ID: <8ac60eac0908040806g4f0495f6gc24ae4d6e440e7e6@mail.gmail.com> Subject: Re: [patch] Speed up find_pc_section From: Paul Pluzhnikov To: tromey@redhat.com Cc: gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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/msg00048.txt.bz2 On Tue, Aug 4, 2009 at 7:22 AM, Tom Tromey wrote: > Paul> + =A0/* This can happen for separate debug-info files. =A0*/ > Paul> + =A0gdb_assert (obj_section_endaddr (sect1) =3D=3D obj_section_end= addr (sect2)); > > I managed to trigger this assert yesterday. :-( I think this means that find_pc_section was giving possibly incorrect answer before this patch. > Would you mind looking at this and figuring out how to fix it? =A0If you > need more information, I can provide it -- either details from debugging > or instructions on reproducing if you have F11 available. I do have F11 available, so please give reproducing instructions. Thanks, --=20 Paul Pluzhnikov