Next: , Previous: Basic Guile, Up: Guile API


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.