GDB - Running the Program

From EdWiki

Running the Program

  • To run the program, just use:
(gdb) run
This runs the program
  • If it has no serious problems (i.e. the normal program didn’t get any fault, error, etc.), the program should run fine.
  • If the program did have issues, then you (should) get some useful information like the line number where it crashed, and parameters to the function that caused the error.