From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23725 invoked by alias); 5 Oct 2017 16:40:38 -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 23660 invoked by uid 48); 5 Oct 2017 16:40:32 -0000 From: "tromey at sourceware dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth Date: Thu, 05 Oct 2017 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q4/txt/msg00013.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22250 --- Comment #4 from Tom Tromey --- (In reply to Mark Wielaard from comment #1) > Which properties of the above are important to you? > Is the given selection mechanism of which DIEs to print the most convenie= nt? > Is it important to suppress header printing? > Since this really is about printing something after an offset from the st= art > of a section, should it be extended to other debug sections? I implemented this stuff in objdump to support browsing DWARF in Emacs. The Emacs mode dumps the "outline" of the DWARF into a buffer, then you can click on a '...' to get more data there. That explains why header suppression is done... However lately I wanted to use this with eu-readelf to track down that bad DWARF bug: https://github.com/rust-lang/rust/issues/44412 In that case I wouldn't care so much about the headers. But really it would be nice to have it all so that I could port the Emacs mode to use eu-readelf. --=20 You are receiving this mail because: You are on the CC list for the bug.