From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19058 invoked by alias); 14 Sep 2009 16:43:55 -0000 Received: (qmail 19047 invoked by uid 22791); 14 Sep 2009 16:43:54 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.17.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Sep 2009 16:43:50 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.1/8.13.1) with ESMTP id n8EGhlMQ005946 for ; Mon, 14 Sep 2009 16:43:47 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n8EGhlBR2785462 for ; Mon, 14 Sep 2009 18:43:47 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n8EGhkGt021358 for ; Mon, 14 Sep 2009 18:43:47 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id n8EGhjgm021351; Mon, 14 Sep 2009 18:43:45 +0200 Message-Id: <200909141643.n8EGhjgm021351@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 14 Sep 2009 18:43:45 +0200 Subject: Re: [patch] Speed up find_pc_section To: ppluzhnikov@google.com (Paul Pluzhnikov) Date: Mon, 14 Sep 2009 16:43:00 -0000 From: "Ulrich Weigand" Cc: brobecker@adacore.com (Joel Brobecker), muller@ics.u-strasbg.fr (Pierre Muller), Ulrich.Weigand@de.ibm.com (Ulrich Weigand), gdb-patches@sourceware.org (gdb-patches ml), tromey@redhat.com (Tom Tromey), jan.kratochvil@redhat.com (Jan Kratochvil) In-Reply-To: <8ac60eac0909131447i5a128877q585e3ab4c24f551b@mail.gmail.com> from "Paul Pluzhnikov" at Sep 13, 2009 02:47:35 PM 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-09/txt/msg00410.txt.bz2 Paul Pluzhnikov wrote: > I think this is ready to commit :-) > > Ulrich? > 2009-09-13 Paul Pluzhnikov > > * objfiles.c (qsort_cmp): Remove asserts. > (insert_section_p, filter_debuginfo_sections): New function. > (filter_overlapping_sections): Likewise. > (update_section_map): Adjust. I've tested this together with the lookup_minimal_symbol_by_pc patch on spu-elf, and it fixes all overlay-related bugs and introduces no regressions, so it looks good to me as well. Thanks for your work on addressing this problem! Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com