VGDB(1) VGDB(1) (NAME) vgdb - Valgrind GDB (SYNOPSIS) vgdb [] (DESCRIPTION) vgdb (<>) Valgrind GDB () . : 1. (monitor) Valgrind . () vgdb . -c . 2. <> GDB (relay) GDB Valgrind gdbserver . () . 3. --multi vgdb (extended remote protocol) GDB . valgrind GDB GDB . <> . valgrind vgdb gdb valgrind . vgdb --valgrind --vargs valgrind . (OPTIONS) --pid= (PID) vgdb . Valgrind gdbserver . --pid Valgrind gdbserver vgdb . --vgdb-prefix FIFO ( ) Valgrind gdbserver vgdb Valgrind vgdb . --wait= vgdb Valgrind gdbserver . vgdb Valgrind gdbserver . --vgdb-prefix . --wait <> GDB remotetimeout GDB --wait . remotetimeout --max-invoke-ms ( ) . --max-invoke-ms= vgdb gdbserver Valgrind . . . vgdb Valgrind gdbserver (threads) Valgrind (system call) (blocked) . <> GDB . ( ) --max-invoke-ms . --max-invoke-ms=5000 GDB : (gdb) set remotetimeout 6 --cmd-time-out= vgdb Valgrind gdbserver . . --port= vgdb GDB tcp/ip GDB . tcp/ip GDB Valgrind . : # valgrind : valgrind --vgdb-error=0 prog # : vgdb --port=1234 GDB : gdb prog (gdb) target remote targetip:1234 targetip IP . --vgdb-multi vgdb extended-remote gdb . --valgrind valgrind extended-remote. valgrind . --vargs valgrind extended-remote -q. --vargs valgrind . -c vgdb -c . : vgdb v.set log_output -c leak_check any -l vgdb Valgrind gdbserver . -T vgdb vgdb (timestamp) . -D vgdb Valgrind gdbserver . vgdb Valgrind gdbserver . -d vgdb . -d . -d vgdb (relay) (stderr) vgdb (redirect) vgdb GDB . (SEE ALSO) valgrind(1), $INSTALL/share/doc/valgrind/html/index.html http://www.valgrind.org/docs/manual/index.html, Debugging your program using Valgrind's gdbserver and GDB[1] vgdb[2], Valgrind monitor commands[3]. (AUTHOR) Philippe Waroquiers. (NOTES) 1. Debugging your program using Valgrind's gdbserver and GDB http://www.valgrind.org/docs/manual/manual-core-adv.html#manual- core-adv.gdbserver 2. vgdb http://www.valgrind.org/docs/manual/manual-core-adv.html#manual- core-adv.vgdb 3. Valgrind monitor commands http://www.valgrind.org/docs/manual/manual-core-adv.html#manual- core-adv.valgrind-monitor-commands Release 3.25.1 08/11/2026 VGDB(1)