gdb error

view full story

http://www.linuxquestions.org – Hello guys, I'm having problems trying to debug my code. I have a simple code hello.c ===================== #include <stdio.h> main() { printf("hello, world\n"); } ====================== I compiled it : gcc -g hello.c -o hello I wanted to debug it: ================= gdb hello GNU gdb (GDB) 7.0 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show co (HowTos)