Re: Is this possible with gdb?

Manoj Iyer
2005-05-25T15:14:59Z

> > <exit>
> >
> > So I just want to see porgram flow. Is this possible with gdb or can anyone
> > suggest any other solution?
> >
> > Any help is grealy appreciated.
>
> GDB is not a code coverage tool. You could look into use gcov.
>
> However, with GDB you can step through your program. Try this,
> gdb ./foo

Check out http://ltp.sourceforge.net/coverage/lcov.php, this might be what
you are looking for.

--
manjo