Joe Buck wrote:
On Tue, Oct 11, 2005 at 06:01:07PM +0100, Nathan Sidwell wrote:
call __gcov_flush
It seems you could just invoke that function from gdb, and not change
the program at all, right?
that's a neat idea :)
nathan
--
Nathan Sidwell:: http://www.codesourcery.com ::
On Tue, Oct 11, 2005 at 06:01:07PM +0100, Nathan Sidwell wrote:
> Astroman (sent by Nabble.com) wrote:
> > I am working on a piece of software that never exits and I am trying to
> > use -fprofile-arcs and gcov to gather coverage data on it.
> >The code looks like this:
> >int main(){
> > whil
Astroman (sent by Nabble.com) wrote:
I am working on a piece of software that never exits and I am trying to use
-fprofile-arcs and gcov to gather coverage data on it.
The code looks like this:
int main(){
while(1){
foo();
nanosleep(50);
}
}
This is a child process that as
On 10/11/05, Astroman (sent by Nabble.com) <[EMAIL PROTECTED]> wrote:
>
> I am working on a piece of software that never exits and I am trying to use
> -fprofile-arcs and gcov to gather coverage data on it.
> The code looks like this:
> int main(){
>while(1){
> foo();
> nanosleep