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
#t
if 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 avoid
type of architecture arch.
Return the
<gdb:type>
object for achar
type of architecture arch.
Return the
<gdb:type>
object for ashort
type of architecture arch.
Return the
<gdb:type>
object for anint
type of architecture arch.
Return the
<gdb:type>
object for along
type of architecture arch.
Return the
<gdb:type>
object for asigned char
type of architecture arch.
Return the
<gdb:type>
object for anunsigned char
type of architecture arch.
Return the
<gdb:type>
object for anunsigned short
type of architecture arch.
Return the
<gdb:type>
object for anunsigned int
type of architecture arch.
Return the
<gdb:type>
object for anunsigned long
type of architecture arch.
Return the
<gdb:type>
object for afloat
type of architecture arch.
Return the
<gdb:type>
object for adouble
type of architecture arch.
Return the
<gdb:type>
object for along double
type of architecture arch.
Return the
<gdb:type>
object for abool
type of architecture arch.
Return the
<gdb:type>
object for along long
type of architecture arch.
Return the
<gdb:type>
object for anunsigned long long
type of architecture arch.
Return the
<gdb:type>
object for anint8
type of architecture arch.
Return the
<gdb:type>
object for auint8
type of architecture arch.
Return the
<gdb:type>
object for anint16
type of architecture arch.
Return the
<gdb:type>
object for auint16
type of architecture arch.
Return the
<gdb:type>
object for anint32
type of architecture arch.
Return the
<gdb:type>
object for auint32
type of architecture arch.
Return the
<gdb:type>
object for anint64
type of architecture arch.
Return the
<gdb:type>
object for auint64
type of architecture arch.
Example:
(gdb) guile (type-name (arch-uchar-type (current-arch))) "unsigned char"