diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-09-27 21:27:19 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-27 21:27:19 +0000 |
| commit | 469683e98d46468dc6320729cb318529f5f283b3 (patch) | |
| tree | 92e574fc843fa676e02f39a2cdc9febb4fd86335 /lldb/test/python_api | |
| parent | 76399eb2ad0fdae4827dfd571253134bc09ad25c (diff) | |
| download | bcm5719-llvm-469683e98d46468dc6320729cb318529f5f283b3.tar.gz bcm5719-llvm-469683e98d46468dc6320729cb318529f5f283b3.zip | |
SBWatchpointLocation.GetDescription() takes an additional description level arg.
Modify get_description() utility function in lldbutil.py to handle that.
llvm-svn: 140638
Diffstat (limited to 'lldb/test/python_api')
| -rw-r--r-- | lldb/test/python_api/watchpoint/TestWatchpointLocationIter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/watchpoint/TestWatchpointLocationIter.py b/lldb/test/python_api/watchpoint/TestWatchpointLocationIter.py index fdaa04a18d0..ec67831b68a 100644 --- a/lldb/test/python_api/watchpoint/TestWatchpointLocationIter.py +++ b/lldb/test/python_api/watchpoint/TestWatchpointLocationIter.py @@ -92,6 +92,9 @@ class WatchpointLocationIteratorTestCase(TestBase): print wp_loc self.assertTrue(wp_loc.GetHardwareIndex() != -1) + # SBWatchpointLocation.GetDescription() takes a description level arg. + print lldbutil.get_description(wp_loc, lldb.eDescriptionLevelFull) + # Now disable the 'rw' watchpoint. The program won't stop when it reads # 'global' next. wp_loc.SetEnabled(False) |

