On Nov 18,  7:30pm, susila bahri wrote:

> I have tried to debug my program by using 'gdb -g
> filename.c' but there is no result. Could you help me
> please ?

First make sure you have your program compiled.  If it consists of only
a single .c file, you can do this as follows:

    gcc -o filename -g filename.c

In order to debug it, you should invoke GDB like this:

    gdb filename

Kevin

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to