K 10
svn:author
V 8
eutarass
K 8
svn:date
V 27
2010-05-12T23:11:29.997030Z
K 7
svn:log
V 681
TCF Agent: low-level debug API changed, new functions added:

/*
 * Write 'size' byte into context register starting at offset 'offs'.
 * Return -1 and set errno if the register cannot be written.
 */
extern int context_write_reg(Context * ctx, RegisterDefinition * def, unsigned offs, unsigned size, void * buf);

/*
 * Read 'size' bytes from context register starting at offset 'offs'.
 * Return -1 and set errno if the register cannot be read.
 */
extern int context_read_reg(Context * ctx, RegisterDefinition * def, unsigned offs, unsigned size, void * buf);


This is done to hide context register data representation, and to allow implementation of lazy reading of registers.
END
