Mail Archives: djgpp/2001/03/17/01:31:13
> From: damon AT WRONG DOT redshift DOT com (Damon Casale)
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 16 Mar 2001 23:28:27 GMT
> >>
> >> I checked my install directory. I have the BinUtils 2.9.5.1 (or
> >> however you arrange the dots) zip file there. I checked the date/time
> >> stamp of gprof in the zip file and compared it with the gprof on my
> >> test machine. Same date/time stamp, same file size.
> >
> >Gprof is not the problem: the bug described in the FAQ was in the
> >DJGPP library, and it affected the profiled code, not Gprof itself.
> >That is, the profiled code would report bogus profile data.
>
> Errr...wouldn't it cause a problem if gprof was compiled with the
> earlier library?
No. The bug was in the library function that _gathers_ the profile
info. This function runs in the program being profiled; Gprof never
calls it.
Gprof is just a simple BFD application that translates EIP values into
symbol names using the symbol table, and then formats them nicely for
output. It doesn't itself mess with timing and such likes.
- Raw text -