how to debug C programs in Unix
debugging in unix
Collapse
X
-
Tags: None
-
Hi Rajeev,
u can use GNU debugger,which is simply known as GDB
please make an executable of the program
steps given below
$gdb exe_name
then were ever u need to put break points, use the command 'b function name'
if u wanted to print a variable content, use "p variable name"
u can get some info by using a $man gdb
or try google, for gdb+mannual+pdf u could get the original GNU mannual on it
regds
Comment