[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-bugs
Subject: Re: how to debug the program
From: Kevin Buettner <kevinb () cygnus ! com>
Date: 2001-11-19 16:28:02
Message-ID: 1011119162802.ZM15958 () ocotillo ! lan
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic