aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-09-23 00:54:11 +0000
committerJim Ingham <jingham@apple.com>2011-09-23 00:54:11 +0000
commit87df91b8661737980b58f7d1d05c27534c57f490 (patch)
tree14e962e25baadb5013438b6686d0c9b1f64922d2 /lldb/source/Commands/CommandObjectThread.cpp
parentb9a11322b13a13dfcccb79cb34ebfc4a84d65bfd (diff)
downloadllvm-87df91b8661737980b58f7d1d05c27534c57f490.zip
llvm-87df91b8661737980b58f7d1d05c27534c57f490.tar.gz
llvm-87df91b8661737980b58f7d1d05c27534c57f490.tar.bz2
Added the ability to restrict breakpoints by function name, function regexp, selector
etc to specific source files. Added SB API's to specify these source files & also more than one module. Added an "exact" option to CompileUnit's FindLineEntry API. llvm-svn: 140362
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index 68de872..8e4ae8d 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -999,7 +999,8 @@ public:
while (index_ptr <= end_ptr)
{
LineEntry line_entry;
- index_ptr = sc.comp_unit->FindLineEntry(index_ptr, line_number, sc.comp_unit, &line_entry);
+ const bool exact = false;
+ index_ptr = sc.comp_unit->FindLineEntry(index_ptr, line_number, sc.comp_unit, exact, &line_entry);
if (index_ptr == UINT32_MAX)
break;