This is the mail archive of the sid@sources.redhat.com mailing list for the SID 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: SID support for gcov?


Hi Dave

> Can gcov be used with SID? From what I've read about gcov it doesn't
> seem like any special SID support would be necessary. It seems like
> all the needed support is done at compile time and by runtime code,
> however executing a simple program after compiling it with
> -dprofile-arcs and -ftest-coverage didn't produce any .da
> files. Perhaps the runtime code doesn't use any of the supported
> syscalls?

You're right--the instrumented code relies on runtime support on the
target for doing things like opening and writing the .da files on the
host.  Does your gloss/monitor support this?

My recollection is that I tested this a couple of years ago and it
worked (at least for the target I worked on).

Cheers, Ben


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