From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115736 invoked by alias); 6 Jan 2019 22:04:29 -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 115656 invoked by uid 89); 6 Jan 2019 22:04:28 -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,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:U*mark, christmas X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,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: mail-wm1-f45.google.com Received: from mail-wm1-f45.google.com (HELO mail-wm1-f45.google.com) (209.85.128.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 06 Jan 2019 22:04:27 +0000 Received: by mail-wm1-f45.google.com with SMTP id f81so5749860wmd.4 for ; Sun, 06 Jan 2019 14:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diamand.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tqThQcZu90cmiFbLJCdN6H+8uzWvJgLPH1TQgSNj+1E=; b=JgcN1L5Z+edCGlB6y2TMk1tGCUvswrvJGPTvHGegNWvkrud/iyOB1kM89sjKc97/NT zdBxhAUKFGcmVEqbzZtcWjWIw7tnxQSrqpbQsns06h5vm87xwjD8PEUV9x3QUUTFx299 WA3kRN6+q6ld7xQNB/jm/XYYdxgdsOfr9iKZs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tqThQcZu90cmiFbLJCdN6H+8uzWvJgLPH1TQgSNj+1E=; b=GBwuqZMDlCpuLz5LZk7c47pCtOCD5CB34vnKg2K8V8LUiTKGnosjMHRFRvjMXU40ir UTnJcuDKjFAWc9vPsjMZjK+Sprwkp0V62bVQmZGYTM3CjBrZroNcLPTX3fgdXYxx8jfc myDhL0KvPBaQk62erSNFQCJIj9WLR83B+dA5wt+bncE/JVWuo+jXJWERxdys7/rqWweA WxyJjKp98jBmrptdueXYiKNs1Jnq/WHfNABk8LmHCFHXJe/lerXuSjXvrr1srOPZQjHX 6lVfkCzpAFR9RHw8HWPNFxvTsZfdPWe1uIBib/52vAZ7cfzGfk2wqp1FnnFeDwfdKgAz RXOw== X-Gm-Message-State: AJcUukdBH3O3iK0MNWLa8Mi6mrWvsBckhzInP7f4w8zWgISmZ8JC9O+L HscUdJYr/L+8tgy2I+H4kHHGR8R+ANa4bCKnusHUYOSh X-Google-Smtp-Source: ALg8bN5a6HPWqK2tyPKUc4Ad2khFXwF4TXMtn/YaYyaOLPvDWMy0APUGo3a8McfFtWdDUhmWa/i8ph1Ep4mF1SbR4PU= X-Received: by 2002:a1c:d082:: with SMTP id h124mr6495269wmg.21.1546812264701; Sun, 06 Jan 2019 14:04:24 -0800 (PST) MIME-Version: 1.0 References: <20190106210435.GA13674@wildebeest.org> In-Reply-To: <20190106210435.GA13674@wildebeest.org> From: Luke Diamand Date: Sun, 06 Jan 2019 22:04:00 -0000 Message-ID: Subject: Re: dwfl_link_map_report() on a core file with sysroot? Opens the wrong solibs? To: Mark Wielaard Cc: Roland McGrath , elfutils-devel@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00006.txt.bz2 On Sun, 6 Jan 2019 at 21:04, Mark Wielaard wrote: > > 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. > I have a fix which I think does the right thing - I've been playing around with core files from a Raspberry Pi and analysing them on a Linux x86 PC using eu-stack. Christmas and New Year intervened but I hope to submit something once I've recovered from that. Thanks! Luke