This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: SID support for gcov?
- From: Ben Elliston <bje at au dot ibm dot com>
- To: sid at sources dot redhat dot com
- Date: 08 Jun 2004 15:58:04 +1000
- Subject: Re: SID support for gcov?
- References: <40C4D803.1070800@redhat.com>
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