Data Files (Debugging with ROCGDB)

Previous: Symbol Errors, Up: GDB Files [Contents][Index]

### 18.7 ROCGDB Data Files

ROCGDB will sometimes read an auxiliary data file. These files are kept in a directory known as the data directory.

You can set the data directory’s name, and view the name ROCGDB is currently using.

`set data-directory directory`

  Set the directory which ROCGDB searches for auxiliary data files to directory.

`show data-directory`

  Show the directory ROCGDB searches for auxiliary data files.

You can set the default data directory by using the configure-time ‘`--with-gdb-datadir`’ option. If the data directory is inside ROCGDB’s configured binary prefix (set with ‘`--prefix`’ or ‘`--exec-prefix`’), then the default data directory will be updated automatically if the installed ROCGDB is moved to a new location.

The data directory may also be specified with the `--data-directory` command line option. See Mode Options.