Specifying an executable file on the command line or executing the load (dbx) or file (gdb) command identifies the current program.
In the background, the debugger immediately creates a process executing the program, stalls it, and uses it to answer questions about which dynamic libraries are mapped, and so on. This process never continues, and is killed when:
The debugger exits
You unload this executable file