From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10518 invoked by alias); 22 Jul 2009 19:19:00 -0000 Received: (qmail 10507 invoked by uid 22791); 22 Jul 2009 19:18:59 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Jul 2009 19:18:53 +0000 Received: (qmail 28737 invoked from network); 22 Jul 2009 19:18:51 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Jul 2009 19:18:51 -0000 From: Pedro Alves To: Paul Pluzhnikov Subject: Re: [patch] Speed up find_pc_section Date: Wed, 22 Jul 2009 19:54:00 -0000 User-Agent: KMail/1.9.10 Cc: tromey@redhat.com, gdb-patches@sourceware.org References: <8ac60eac0907161724v40e5bd8bg7877d8901b8d7b6e@mail.gmail.com> <200907221934.34211.pedro@codesourcery.com> <8ac60eac0907221205r2dcc27c1l598cd1d9a064f45b@mail.gmail.com> In-Reply-To: <8ac60eac0907221205r2dcc27c1l598cd1d9a064f45b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907222018.37463.pedro@codesourcery.com> 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-07/txt/msg00566.txt.bz2 On Wednesday 22 July 2009 20:05:10, Paul Pluzhnikov wrote: > 2009-07-22 =A0Paul Pluzhnikov =A0 >=20 > =A0=A0=A0=A0=A0=A0=A0=A0* objfiles.h (objfiles_changed): New prototype. > =A0 =A0 =A0 =A0 * objfiles.c (objfiles_updated_p): Rename to objfiles_cha= nged_p. > =A0=A0=A0=A0=A0=A0=A0=A0(allocate_objfile, free_objfile): Must rebuild se= ction map. > =A0 =A0 =A0 =A0 (objfile_relocate): Likewise. > =A0=A0=A0=A0=A0=A0=A0=A0(update_section_map, find_pc_section): Adjust. > =A0=A0=A0=A0=A0=A0=A0=A0(set_objfiles_updated_on_exe_change): Remove. > =A0 =A0 =A0 =A0=A0(set_objfiles_updated_on_solib_activity): Remove. > =A0 =A0 =A0 =A0=A0(_initialize_objfiles): Remove. > =A0=A0=A0=A0=A0=A0=A0=A0(objfiles_changed): New function. > =A0=A0=A0=A0=A0=A0=A0=A0* symfile.c (reread_symbols): Call objfiles_chang= ed. Ok. Thanks again! --=20 Pedro Alves