The following table shows the GDB mode options:
Options and Parameters |
Mode |
Description |
---|---|---|
-cd dir | GDB | Specifies a new working directory |
-command file | GDB | Specifies an initialization command file. The default initialization file is .dbxinit. During startup, the debugger searches for this file in the current directory. If it is not there, the debugger searches your home directory. This file is processed after the target process has been loaded or attached |
-dbx | GDB | Causes the debugger to use the idb_options options set (default) |
-/directory dir | GDB | Searches for source files in dir |
-fullname | GDB | Outputs information used by Emacs*-GDB interface |
-help | GDB | Print help message and exit |
-interpreter name -ui name |
GDB | Selects a mode interpreter interface |
-nowindows -nw |
GDB | Do not use a window interface |
-pid pid | GDB | See DBX mode option -pid |
-quiet -silent |
GDB | Do not print copyright message |
-tty device | GDB | Use device for input/output by the program being debugged |
-version | GDB | Print version information and exit |