Re: gdb is linux
gdb is a debugger to debug you code
when you compile the code compile with the opption
1) gcc -ggdb -o (output file name) (source_ code_file_name.c)
if it compiles without error then
type on $ prompt
2) $ gdb your output file name
you will get message displayed on prompt with last two lines
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
3) $b ( or break) line or function number where you want to break
once this is done you can step through your code by hitting "s"
try this if you have any problem let me know I will send you more detail
Helped you I guess