This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] readelf: Print DIE offset in attribute reading error messages.
- From: Tom Tromey <tom at tromey dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: elfutils-devel at sourceware dot org, Tom Tromey <tom at tromey dot com>, Dodji Seketeli <dodji at seketeli dot org>
- Date: Tue, 21 Nov 2017 12:19:03 -0700
- Subject: Re: [PATCH] readelf: Print DIE offset in attribute reading error messages.
- Authentication-results: sourceware.org; auth=none
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9oUQXO7nLkdAlIGp2DkRdp78OT2f/+H4tkds1H13pRk=; b=jD29tgl4Do3+4rgMkEoXE01CY+ GkeNjgAtRRMiFArCuc/M+le0juHJEBYRbTFxADha3TBP9rHzqEHXm0XiGzsi5mUuqMlN02E5cv+5c sSq8yCcIBAjwwwgzUn7oHv4ES;
- References: <1507042757-27353-1-git-send-email-mark@klomp.org> <1510842678.6966.33.camel@klomp.org> <1511259709.3112.12.camel@klomp.org>
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> This has been really useful to debug some DWARF format issues, but it
Mark> could be even more useful. Since we know the attribute name and form
Mark> (or we would have generated an error earlier) add those to the error
Mark> message too.
Thanks for doing this.
Does dwarflint also report the error that prompted this?
I tried dwarflint on my file, but there was a lot of output and I never
did track down the precise problem, so I wasn't sure...
Tom