From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60363 invoked by alias); 6 Jan 2019 21:04:42 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 60339 invoked by uid 89); 6 Jan 2019 21:04:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=roland, H*Ad:U*roland, Hx-languages-length:650, luke X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 06 Jan 2019 21:04:38 +0000 Received: from librem.wildebeest.org (deer0x15.wildebeest.org [172.31.17.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 8152D323AB40; Sun, 6 Jan 2019 22:04:35 +0100 (CET) Received: by librem.wildebeest.org (Postfix, from userid 1000) id 3174E1418C2; Sun, 6 Jan 2019 22:04:35 +0100 (CET) Date: Sun, 06 Jan 2019 21:04:00 -0000 From: Mark Wielaard To: Luke Diamand Cc: Roland McGrath , elfutils-devel@sourceware.org Subject: Re: dwfl_link_map_report() on a core file with sysroot? Opens the wrong solibs? Message-ID: <20190106210435.GA13674@wildebeest.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Flag: NO X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00004.txt.bz2 On Fri, Dec 14, 2018 at 01:44:17PM +0000, Luke Diamand wrote: > On Thu, 13 Dec 2018 at 22:37, Roland McGrath wrote: > > > > I think it's just missing. The hardest part is just deciding how the configuration should work. > > Thanks. My current attempt adds a new function call, > dwfl_set_sysroot(), which works, but feels a bit clunky. I might see > if I can just use the find_elf callback instead. If you got this working please let us know. It might help others and/or deciding how to add a proper interface/config/hook for it. Thanks, Mark