Next: Disassembly In Guile, Previous: Lazy Strings In Guile, Up: Guile API [Contents][Index]
GDB uses architecture specific parameters and artifacts in a
number of its various computations. An architecture is represented
by an instance of the <gdb:arch>
class.
The following architecture-related procedures are provided by the
(gdb)
module:
#t
if object
is an object of type <gdb:arch>
. Otherwise return #f
.<gdb:arch>
object.<gdb:arch>
arch
.<gdb:arch>
arch
.<gdb:arch>
arch
.Each architecture provides a set of predefined types, obtained by the following functions.
<gdb:type>
object for a void
type of architecture arch
.<gdb:type>
object for a char
type of architecture arch
.<gdb:type>
object for a short
type of architecture arch
.<gdb:type>
object for an int
type of architecture arch
.<gdb:type>
object for a long
type of architecture arch
.<gdb:type>
object for a signed char
type of architecture arch
.<gdb:type>
object for an unsigned char
type of architecture arch
.<gdb:type>
object for an unsigned short
type of architecture arch
.<gdb:type>
object for an unsigned int
type of architecture arch
.<gdb:type>
object for an unsigned long
type of architecture arch
.<gdb:type>
object for a float
type of architecture arch
.<gdb:type>
object for a double
type of architecture arch
.<gdb:type>
object for a long double
type of architecture arch
.<gdb:type>
object for a bool
type of architecture arch
.<gdb:type>
object for a long long
type of architecture arch
.<gdb:type>
object for an unsigned long long
type of architecture arch
.<gdb:type>
object for an int8
type of architecture arch
.<gdb:type>
object for a uint8
type of architecture arch
.<gdb:type>
object for an int16
type of architecture arch
.<gdb:type>
object for a uint16
type of architecture arch
.<gdb:type>
object for an int32
type of architecture arch
.<gdb:type>
object for a uint32
type of architecture arch
.<gdb:type>
object for an int64
type of architecture arch
.<gdb:type>
object for a uint64
type of architecture arch
.Example:
(gdb) guile (type-name (arch-uchar-type (current-arch))) "unsigned char"
Next: Disassembly In Guile, Previous: Lazy Strings In Guile, Up: Guile API [Contents][Index]