eStopReasonException is a Mach exception.  When you hit a breakpoint the Mach 
Exception with type EXC_BREAKPOINT is the actual stop reason, but this gets 
translated to eStopReasonBreakpoint if it the stop address is one of our 
breakpoints.  Similarly on Linux, you'd get an eStopReasonSignal/SIGTRAP, which 
would get translated to eStopReasonBreakpoint if the address was at one of our 
breakpoints.  The eStopReasonInstrumentation is analogous.  You stop for some 
system specific reason, which you then identify as an instrumentation stop, so 
you convert the stop reason from a general one to one specific to the event 
that occurred.

Jim

http://reviews.llvm.org/D5592



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to