This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Extension for addr2line to unwind inline scopes
- From: Fred Fish <fnf at specifixinc dot com>
- To: binutils at sources dot redhat dot com
- Cc: fnf at specifixinc dot com
- Date: Fri, 28 Jan 2005 11:21:12 -0600
- Subject: Re: Extension for addr2line to unwind inline scopes
- Organization: Specifix Inc.
- References: <200501170936.56507.fnf@ninemoons.com>
- Reply-to: fnf at specifixinc dot com
On Monday 17 January 2005 09:36, Fred Fish wrote:
> I've attached the patches I'm currently experimenting with.
BTW, I found a bug that can cause addr2line to go into an infinite loop. This
additional patch, relative to my first patch, fixes that.
-Fred
*** addr2line.c 2005-01-28 11:18:13.464958742 -0600
--- addr2line.c.new 2005-01-28 11:15:30.342287574 -0600
***************
*** 200,205 ****
--- 200,206 ----
fflush (stdout);
/* If this was an inlined function, rerun with the inliner PC */
+ pc = 0;
if (found)
{
extern bfd_vma _bfd_dwarf2_find_saved_nearest_scope (bfd *abfd);