Running And Stopping
Originally written by
- in the shell, 'gdb <executable> runs gdb on the desired program.
- ... 'gdb <executable> <PID>' attaches gdb to the
already-running process with the given process id (PID).
- Use the 'run' command to run the program. use 'run <parameters>' to
give it parameters.
- when the program runs, you can suspend it with ctrl-C, and get a gdb