Debugging with GDB: Arithmetic In Guile |
---|
Next: Types In Guile, Previous: Values From Inferior In Guile, Up: Guile API [Contents][Index]
The (gdb)
module provides several functions for performing
arithmetic on <gdb:value>
objects.
The arithmetic is performed as if it were done by the target,
and therefore has target semantics which are not necessarily
those of Scheme. For example operations work with a fixed precision,
not the arbitrary precision of Scheme.
Wherever a function takes an integer or pointer as an operand, GDB will convert appropriate Scheme values to perform the operation.
Scheme does not provide a not-equal
function,
and thus Guile support in GDB does not either.
Next: Types In Guile, Previous: Values From Inferior In Guile, Up: Guile API [Contents][Index]