This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: Is this possible with gdb?



> > <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


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