Guile Configuration (Debugging with ROCGDB)

Next: GDB Scheme Data Types, Previous: Basic Guile, Up: Guile API [Contents][Index]

#### 24.4.3.2 Guile Configuration

ROCGDB provides these Scheme functions to access various configuration parameters.

Scheme Procedure: data-directory

  Return a string containing ROCGDB’s data directory. This directory contains ROCGDB’s ancillary files.

Scheme Procedure: guile-data-directory

  Return a string containing ROCGDB’s Guile data directory. This directory contains the Guile modules provided by ROCGDB.

Scheme Procedure: gdb-version

  Return a string containing the ROCGDB version.

Scheme Procedure: host-config

  Return a string containing the host configuration. This is the string passed to `--host` when ROCGDB was configured.

Scheme Procedure: target-config

  Return a string containing the target configuration. This is the string passed to `--target` when ROCGDB was configured.