[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to debug the program
From: |
Kevin Buettner |
Subject: |
Re: how to debug the program |
Date: |
Mon, 19 Nov 2001 09:28:02 -0700 |
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
- how to debug the program, susila bahri, 2001/11/18
- Message not available
- Re: how to debug the program,
Kevin Buettner <=