fixed itrace.c to track instructions properly