Next: Disassembly In Guile, Previous: Lazy Strings In Guile, Up: Guile API
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:
Return
#tif object is an object of type<gdb:arch>. Otherwise return#f.
Each architecture provides a set of predefined types, obtained by the following functions.
Return the
<gdb:type>object for avoidtype of architecture arch.
Return the
<gdb:type>object for achartype of architecture arch.
Return the
<gdb:type>object for ashorttype of architecture arch.
Return the
<gdb:type>object for aninttype of architecture arch.
Return the
<gdb:type>object for alongtype of architecture arch.
Return the
<gdb:type>object for asigned chartype of architecture arch.
Return the
<gdb:type>object for anunsigned chartype of architecture arch.
Return the
<gdb:type>object for anunsigned shorttype of architecture arch.
Return the
<gdb:type>object for anunsigned inttype of architecture arch.
Return the
<gdb:type>object for anunsigned longtype of architecture arch.
Return the
<gdb:type>object for afloattype of architecture arch.
Return the
<gdb:type>object for adoubletype of architecture arch.
Return the
<gdb:type>object for along doubletype of architecture arch.
Return the
<gdb:type>object for abooltype of architecture arch.
Return the
<gdb:type>object for along longtype of architecture arch.
Return the
<gdb:type>object for anunsigned long longtype of architecture arch.
Return the
<gdb:type>object for anint8type of architecture arch.
Return the
<gdb:type>object for auint8type of architecture arch.
Return the
<gdb:type>object for anint16type of architecture arch.
Return the
<gdb:type>object for auint16type of architecture arch.
Return the
<gdb:type>object for anint32type of architecture arch.
Return the
<gdb:type>object for auint32type of architecture arch.
Return the
<gdb:type>object for anint64type of architecture arch.
Return the
<gdb:type>object for auint64type of architecture arch.
Example:
(gdb) guile (type-name (arch-uchar-type (current-arch)))
"unsigned char"