Next: , Previous: , Up: Guile API   [Contents][Index]


23.3.3.2 Guile Configuration

GDB provides these Scheme functions to access various configuration parameters.

Scheme Procedure: data-directory

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

Scheme Procedure: guile-data-directory

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

Scheme Procedure: gdb-version

Return a string containing the GDB version.

Scheme Procedure: host-config

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

Scheme Procedure: target-config

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