from gdb.texinfo on 11 July 1994 --> Debugging with GDB - Running

Go to the previous, next section.

Running Programs Under GDB

When you run a program under GDB, you must first generate debugging information when you compile it. You may start it with its arguments, if any, in an environment of your choice. You may redirect your program's input and output, debug an already running process, or kill a child process.

Go to the previous, next section.