| Příkaz | Co dělá |
| show args | Show arguments to give program being debugged when it is started |
| info handle | What debugger does when program gets various signals |
| kill | Kill execution of program being debugged |
| target | Connect to a target machine or process |
| handle | Specify how to handle a signal |
| run | Start debugged program |
| continue | Continue program being debugged |
| jump | Continue program being debugged at specified line or address |
| until | Execute until the program reaches a source line greater than the current |
| step | Step program until it reaches a different source line |
| next | Step program |
| finish | Execute until selected stack frame returns |
| nexti | Step one instruction |
| stepi | Step one instruction exactly |
| signal | Continue program giving it signal specified by the argument |
| detach | Detach a process or file previously attached |
| attach | Attach to a process or file outside of GDB |
| unset environment | Cancel environment variable VAR for the program |
| tty | Set terminal for future runs of program being debugged |
| set environment | Set environment variable value to give the program |
| set args | Set arguments to give program being debugged when it is started |
| thread | Use this command to switch between threads |
| thread apply | Apply a command to a list of threads |
| apply all | Apply a command to all threads |
| Příkaz | Co dělá |
| whatis | Print data type of expression EXP |
| ptype | Print definition of type TYPE |
| inspect | Same as "print" command |
| print | Print value of expression EXP |
| call | Call a function in the program |
| set | Evaluate expression EXP and assign result to variable VAR |
| set variable | Evaluate expression EXP and assign result to variable VAR |
| output | Like "print" but don't put in value history and don't print newline |
| printf | Printf "printf format string" |
| display | Print value of expression EXP each time the program stops |
| undisplay | Cancel some expressions to be displayed when program stops |
| disassemble | Disassemble a specified section of memory |
| x | Examine memory: x/FMT ADDRESS |
| delete display | Cancel some expressions to be displayed when program stops |
| disable display | Disable some expressions to be displayed when program stops |
| enable display | Enable some expressions to be displayed when program stops |
| Příkaz | Co dělá |
| show gnutarget | Show the current BFD target |
| cd | Set working directory to DIR for debugger and program being debugged |
| pwd | Print working directory |
| core-file | Use FILE as core dump for examining memory and registers |
| section | Change the base address of section SECTION of the exec file to ADDR |
| exec-file | Use FILE as program for getting contents of pure memory |
| file | Use FILE as program to be debugged |
| sharedlibrary | Load shared object library symbols for files matching REGEXP |
| path | Add directory DIR(s) to beginning of search path for object files |
| load | Dynamically load FILE into the running program |
| add-shared-symbol-files | Load the symbols from shared objects in the dynamic linker's link map |
| add-symbol-file | Usage: add-symbol-file FILE ADDR |
| symbol-file | Load symbol table from executable file FILE |
| set gnutarget | Set the current BFD target |
| list | List specified function or line |
| reverse-search | Search backward for regular expression (see regex(3)) from last line listed |
| search | Search for regular expression (see regex(3)) from last line listed |
| forward-search | Search for regular expression (see regex(3)) from last line listed |
| directory | Add directory DIR to beginning of search path for source files |
| Příkaz | Co dělá |
| if | Execute nested commands once IF the conditional expression is non zero |
| while | Execute nested commands WHILE the conditional expression is non zero |
| show confirm | Show whether to confirm potentially dangerous operations |
| show history | Generic command for showing command history parameters |
| show editing | Show editing of command lines as they are typed |
| show verbose | Show verbosity |
| show prompt | Show gdb's prompt |
| show complaints | Show max number of complaints about incorrect symbols |
| show demangle-style | Show the current C++ demangling style |
| show write | Show writing into executable and core files |
| show check range | Show range checking |
| show check type | Show type checking |
| show language | Show the current source language |
| show remotecache | Show cache use for remote targets |
| show auto-solib-add | Show autoloading of shared library symbols |
| show stop-on-solib-events | Show stopping for shared library events |
| show symbol-reloading | Show dynamic symbol table reloading multiple times in one run |
| show radix | Show the default input and output number radices |
| show output-radix | Show default output radix for printing of values |
| show input-radix | Show default input radix for entering numbers |
| show print object | Show printing of object's derived type based on vtable info |
| show print vtbl | Show printing of C++ virtual function tables |
| show print static-members | Show printing of C++ static members |
| show print address | Show printing of addresses |
| show print array | Show prettyprinting of arrays |
| show print union | Show printing of unions interior to structures |
| show print pretty | Show prettyprinting of structures |
| show print asm-demangle | Show demangling of C++ names in disassembly listings |
| show print sevenbit-strings | Show printing of 8-bit characters in strings as \nnn |
| show print demangle | Show demangling of encoded C++ names when displaying symbols |
| show listsize | Show number of source lines gdb will list by default |
| show height | Show number of lines gdb thinks are in a page |
| show width | Show number of characters gdb thinks are in a line |
| dont-repeat | Don't repeat this command |
| help | Print list of commands |
| quit | Exit gdb |
| source | Read commands from a file named FILE |
| define | Define a new command name |
| document | Document a user-defined command |
| echo | Print a constant string |
| make | Run the ``make'' program using the rest of the line as arguments |
| shell | Execute the rest of the line as a shell command |
| set confirm | Set whether to confirm potentially dangerous operations |
| set history | Generic command for setting command history parameters |
| set editing | Set editing of command lines as they are typed |
| set verbose | Set verbosity |
| set prompt | Set gdb's prompt |
| set complaints | Set max number of complaints about incorrect symbols |
| set demangle-style | Set the current C++ demangling style |
| set write | Set writing into executable and core files |
| set check range | Set range checking |
| set check type | Set type checking |
| set language | Set the current source language |
| set remotecache | Set cache use for remote targets |
| set auto-solib-add | Set autoloading of shared library symbols |
| set stop-on-solib-events | Set stopping for shared library events |
| set symbol-reloading | Set dynamic symbol table reloading multiple times in one run |
| set radix | Set default input and output number radices |
| set output-radix | Set default output radix for printing of values |
| set input-radix | Set default input radix for entering numbers |
| set print object | Set printing of object's derived type based on vtable info |
| set print vtbl | Set printing of C++ virtual function tables |
| set print static-members | Set printing of C++ static members |
| set print address | Set printing of addresses |
| set print array | Set prettyprinting of arrays |
| set print union | Set printing of unions interior to structures |
| set print pretty | Set prettyprinting of structures |
| set print asm-demangle | Set demangling of C++ names in disassembly listings |
| set print sevenbit-strings | Set printing of 8-bit characters in strings as \nnn |
| set print demangle | Set demangling of encoded C++ names when displaying symbols |
| set listsize | Set number of source lines gdb will list by default |
| set height | Set number of lines gdb thinks are in a page |
| set width | Set number of characters gdb thinks are in a line |
| down-silently | Same as the `down' command |
| up-silently | Same as the `up' command |
| Příkaz | Co dělá |
| show watchdog | Show watchdog timer |
| show targetdebug | Show target debugging |
| maintenance | Commands for use by GDB maintainers |
| maintenance check-symtabs | Check consistency of psymtabs and symtabs |
| maintenance space | Set the display of space usage |
| maintenance time | Set the display of time usage |
| maintenance demangle | Demangle a C++ mangled name |
| maintenance dump-me | Get fatal error; make debugger dump its core |
| maintenance print | Maintenance command for printing GDB internal state |
| maintenance print statistics | Print statistics about internal gdb state |
| maintenance print objfiles | Print dump of current object file definitions |
| maintenance print psymbols | Print dump of current partial symbol definitions |
| maintenance print msymbols | Print dump of current minimal symbol definitions |
| maintenance print symbols | Print dump of current symbol definitions |
| maintenance print type | Print a type chain for a given symbol |
| maintenance info | Commands for showing internal info about the program being debugged |
| maintenance info sections | List the BFD sections of the exec and core files |
| maintenance info breakpoints | Status of all breakpoints |
| set watchdog | Set watchdog timer |
| set targetdebug | Set target debugging |