(1) gdb - gdb [] [| _| _] "" -- . ( ) : o . o . o . o . C++ -2. "gdb". "quit" "exit". "help". "gdb" : gdb program : gdb program core "-p" : gdb program 1234 gdb -p 1234 1234. -p . : break [:][|] ( ). run [_] ( _ ). bt : . print . c ( ). next ( ) . edit [:] . list [:] . step ( ) . help [] . quit exit . : . . . "gdb" "info". ( ID) --se -c . . . - -- --help. : "--option=value" "--option value" "-option=value" "-option value" "--o=value" "--o value" "-o=value" "-o value" . -x. --help -h . --symbols= -s . --write (core). --exec=file -e file file (core dump). --se=file file . --core=file -c file file (core dump) . --command=file -x file GDB file. --eval-command=command -ex command command GDB. --init-eval-command=command -iex command GDB (inferior). --directory=directory -d directory directory . --nh ~/.config/gdb/gdbinit ~/.gdbinit ~/.config/gdb/gdbearlyinit ~/.gdbearlyinit --nx -n .gdbinit .gdbearlyinit. --quiet --silent -q "". . (batch mode). --batch . 0 -x ( .gdbinit ). GDB . GDB . ( GDB) . --batch-silent --batch . GDB ( stderr). --silent . Loading section . GDB "stdout" . --args prog [arglist] (inferior). : gdb ./a.out -q GDB -q . : gdb --args ./a.out -q GDB . --pid=pid GDB pid. --tui . --readnow (symfile) . --readnever . --return-child-result GDB . --configuration GDB . --version . --cd=directory GDB directory . --data-directory=directory -D GDB directory . GDB . --fullname -f (Emacs) GDB . GDB ( ). \032 . --GDB \032 . -b baudrate ( ) GDB . -l timeout . --tty=device device . GDB - (Texinfo). "info" "gdb" - GDB info gdb . Using GDB: A Guide to the GNU Source-Level Debugger . . 1991. (c) 1988-2025 . / / 1.3 "Free Software" "Free Software Needs Free Documentation" "A GNU Manual," () . () : " . ." 3 . . : . gdb-17.1 20 2025 (1)