mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
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. llvm-svn: 142227
This commit is contained in:
@@ -66,6 +66,12 @@ public:
|
||||
void
|
||||
SetIgnoreCount (uint32_t n);
|
||||
|
||||
const char *
|
||||
GetCondition ();
|
||||
|
||||
void
|
||||
SetCondition (const char *condition);
|
||||
|
||||
bool
|
||||
GetDescription (lldb::SBStream &description, DescriptionLevel level);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user