gdb [options] [PROGRAM [COREFILE or PID]]
gdb [options] --args PROGRAM [INFARGS...] to pass any arguments after the executable file to the inferior
--silent[or-q/--quiet] to start without printing the front material--core COREFILE[or-c] to analyze a core dump--pid PID[or-p] to debug a running process (as with theattachcommand)--command EXECFILE[or-x] to execute commands from file (as with thesourcecommand)