This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Is this possible with gdb?
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: Bob Rossi <bob at brasko dot net>
- Cc: Ismail Donmez <ismail at kde dot org dot tr>, gdb at sources dot redhat dot com
- Date: Wed, 25 May 2005 10:08:31 -0500 (CDT)
- Subject: Re: Is this possible with gdb?
- References: <200505251805.59367.ismail@kde.org.tr> <20050525151027.GE18451@white>
> > <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