From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122204 invoked by alias); 21 Jul 2017 19:39:28 -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 122181 invoked by uid 89); 21 Jul 2017 19:39:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy= X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no 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; Fri, 21 Jul 2017 19:39:24 +0000 Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id EFEA8304D729; Fri, 21 Jul 2017 21:39:22 +0200 (CEST) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id D8D06413CD07; Fri, 21 Jul 2017 21:39:22 +0200 (CEST) Message-ID: <1500665962.14595.478.camel@klomp.org> Subject: Re: Dwarf_FDE (libdw) From: Mark Wielaard To: Sasha Da Rocha Pinheiro Cc: "elfutils-devel@sourceware.org" Date: Fri, 21 Jul 2017 19:39:00 -0000 In-Reply-To: References: <20170715213020.GA2445@stream> <1500298136.14595.368.camel@klomp.org> <20170717174821.GA2236@stream> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00033.txt.bz2 On Tue, 2017-07-18 at 16:50 +0000, Sasha Da Rocha Pinheiro wrote: > From: Mark Wielaard >> The thing is I need to get catch blocks, and eh_frame is not exactly >> > Dwarf format. That's why I need FDE augmentation data also. >> > Libdw doesn't do this, am I correct? >>=20 >> libdw handles both .debug_frame and .eh_frame data. >> And you can use the Dwarf_Frames to unwind. >> I believe the only thing not directly exposed are the lsda and >> personality pointers. Is that the functionality that you need for >> "catch blocks"? > > Are you thinking in exposing them? I am thinking about it. But we don't currently store them. So we would have reparse them. And since I haven't used them myself I am not sure what they best way is to expose them. Are you currently using Dwarf_Frames or Dwarf_CFI_Entry? Could you show some code that uses the CFI with personality routines and lsda? Thanks, Mark P.S. Please don't top-post. It makes it really hard to see the context. P.P.S. Please don't add HTML to your postings. The mailinglist will drop such messages.