Hello
# 1. Read the values of C-pointer-variables 'inPtr' and 'outPtr' into tcl_inPtr and tcl_outPtr
This can be done using commands:
set tcl_inPtr [evaluate ptrIn]
set tcl_outPtr [evaluate outPtr]
# 2. Using the values of the pointer we have to fill in the
# test pattern from '$in_testvector($i)' to the memory
# area pointed by '$tcl_inPtr'
I would try the following here:
set offset [evaluate #x $tcl_inPtr+$i*4]
change m:$offset %x $in_testvector($i)
# 3. Using the values of the pointer we have to read in the
# test results from the memory area pointed by
# '$tcl_outPtr' to 'out_testresults($i)'
I would try the following here:
set offset_out [evaluate #x $tcl_outPtr+$i*4]
display m:$offset_out %x
CrasyCat