diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-10-05 00:42:59 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-05 00:42:59 +0000 |
| commit | 80fdd7c0b7378c54da3a9fb13248663f54b8b8ec (patch) | |
| tree | 415dc47a876850ad984e7632941923b12195db92 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 324be98a3c86da593534b4917d5c1a18967ad55b (diff) | |
| download | llvm-80fdd7c0b7378c54da3a9fb13248663f54b8b8ec.zip llvm-80fdd7c0b7378c54da3a9fb13248663f54b8b8ec.tar.gz llvm-80fdd7c0b7378c54da3a9fb13248663f54b8b8ec.tar.bz2 | |
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
llvm-svn: 141144
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
