commit | 712a628dde2f4f786389feecf7e06e59f0853c75 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Mon Oct 17 18:58:00 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Mon Oct 17 18:58:00 2011 +0000 |
tree | b926e5bd60c2e7a1b7b9cebac3804e53ef96ab0e | |
parent | 37e278307f2d2c01077e15f9787ab93777e023fb [diff] |
Add a commnad to set a condition for a watchpoint. Example: watchpoint modify -c 'global==5' modifies the last created watchpoint so that the condition expression is evaluated at the stop point to decide whether we should proceed with the stopping. Also add SBWatchpont::SetCondition(const char *condition) to set condition programmatically. Test cases to come later. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142227 91177308-0d34-0410-b5e6-96231b3b80d8