8bdf57cfc246358ab65b2d36ec2b8462e8d36e54 |
|
05-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a problem where the stop-hook command 'frame variable g_val' produces nothing when newly created threads were subsequently stopped due to breakpoint hit. The stop-hook mechanism delegates to CommandInterpreter::HandleCommands() to execuet the commands. Make sure the execution context is switched only once at the beginning of HandleCommands() only and don't update the context while looping on each individual command to be executed. rdar://problem/10228156 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/multiple_threads/main.cpp
|