After you have compiled a C source file with -g, you can run this program with GDB. Use the command gdb <executable> at the command line. Start debugging prog1.
確定! 回上一頁