This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Extension for addr2line to unwind inline scopes


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]