« Previous | Next » 

Revision a00817cc

IDa00817cc4c18b7872e92765a4736fb2227cc237b

Added by Max Filippov almost 11 years ago

target-xtensa: avoid double-stopping at breakpoints

env->exception_taken is set every time an exception is taken. It is used
to allow single-stepping to stop at the first exception handler
instruction. This however must exclude debug exceptions, as otherwise
first step from the instruction where breakpoint was hit stops at that
same instruction.
Also don't check env->exception_taken directly from the
gen_intermediate_code_internal, instead allocate and use TB flag
XTENSA_TBFLAG_EXCEPTION.

Signed-off-by: Max Filippov <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences