This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: question about dwarf.c
- From: Cary Coutant <ccoutant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Binutils Development <binutils at sourceware dot org>
- Date: Thu, 12 Aug 2010 11:40:47 -0700
- Subject: Re: question about dwarf.c
- References: <m3hbiz4twe.fsf@fleche.redhat.com>
> The crash occurs because the call to process_abbrev_section subtracts
> out the section address, thus passing an invalid pointer to
> process_abbrev_section.
>
> Can someone explain the reason for this? ?I don't understand it.
It looks like a bug, pure and simple, to me. Notice that
section.address is *not* subtracted in forming the ending address.
-cary