From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3660 invoked by alias); 21 Jul 2011 12:21:34 -0000 Received: (qmail 3651 invoked by uid 22791); 21 Jul 2011 12:21:33 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Jul 2011 12:21:18 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6LCL9TT020838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Jul 2011 08:21:09 -0400 Received: from host1.jankratochvil.net (ovpn-116-20.ams2.redhat.com [10.36.116.20]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6LCL7Jr006496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jul 2011 08:21:08 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p6LCL62F000547; Thu, 21 Jul 2011 14:21:06 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p6LCL4hp000544; Thu, 21 Jul 2011 14:21:04 +0200 Date: Thu, 21 Jul 2011 14:03:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org, Sergio Durigan Junior Subject: Re: [PATCH] On-demand loading of shlib's debuginfo Message-ID: <20110721122104.GA326@host1.jankratochvil.net> References: <20110720205313.GA2611@host1.jankratochvil.net> <201107211158.45196.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201107211158.45196.pedro@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-07/txt/msg00580.txt.bz2 On Thu, 21 Jul 2011 12:58:44 +0200, Pedro Alves wrote: > Is that the reason then that svr4_match_pc_solist goes through > the link map to map a PC to a so_list, instead of having a > generic implementation that matches the PC to the so_list's > loaded (bfd) sections (that is, just call solib_contains_address_p) ? > If so, it'd make more sense IMO to remove that from this patch, > and add it only along with a change that lazies mapping in the bfd > and its sections as well. I'm not sure how safe that will be. I agree the patch as is does not make much sense on its own IMHO, maybe it could be pre-approved but checked-in only later with the bfd part of it. Thanks, Jan