I want to know how to report a bug!
It seems a bug that I found.
In the file “arm_simulator.c”, function “arm_simulate_step”
if (armv4_5->core_state == ARMV4_5_STATE_ARM)
{
....
}
else
{
target_read_u32(target, current_pc, &opcode);
arm_evaluate_opcode(opcode, current_pc, &instruction);
instruction_size = 2;
......
I think “arm_evaluate_opcode(opcode, current_pc, &instruction);”
should be
“thumb_evaluate_opcode(opcode, current_pc, &instruction);”