I tried to debug but GDB could not resolve most of the symbols. When I tried to reconfigure DECAF with option "--enable-debug" then "make", I got the errors:
decaf/target-i386/translate.c:6869:22: error: incompatible types when assigning to type ‘TCGv_i32’ from type ‘TCGv_ptr’ :
> t_cur_pc = tcg_const_ptr(cur_pc);
There are multiple occurrences of this incompatibility. I checked the source code, both 'TCGv_i32’ and ‘TCGv_ptr’ are defined as 'int'. Maybe I misunderstand it.
Later I chose an old version of DECAF(1.6) and it works smoothly for now.