Extension for addr2line to unwind inline scopes
Fred Fish
fnf@specifixinc.com
Fri Jan 28 17:21:00 GMT 2005
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);
More information about the Binutils
mailing list