aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-06-07 01:13:00 +0000
committerJim Ingham <jingham@apple.com>2013-06-07 01:13:00 +0000
commite96ade8bf6c0cd327733d2b93e208c9d148dc20b (patch)
treec4ae55621165110cbb3d6b052ad9cdf1ef5611b1 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parent817bbb3a81609b819b4c8f24b3769e06e732336b (diff)
downloadllvm-e96ade8bf6c0cd327733d2b93e208c9d148dc20b.zip
llvm-e96ade8bf6c0cd327733d2b93e208c9d148dc20b.tar.gz
llvm-e96ade8bf6c0cd327733d2b93e208c9d148dc20b.tar.bz2
Make the "SearchFilterByModuleListAndCU" work correctly for searches at the CompUnit
level. Fixes a bug in "break set --source-pattern-regexp" when a shared library is specified. Also cleaned up the help text for --source-pattern-regexp so it is a little clearer. <rdar://problem/14084261> llvm-svn: 183476
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 25a412c..cb70c99 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -667,7 +667,9 @@ CommandObjectBreakpointSet::CommandOptions::g_option_table[] =
"Can be repeated multiple times to make one breakpoint for multiple symbols." },
{ LLDB_OPT_SET_9, true, "source-pattern-regexp", 'p', required_argument, NULL, 0, eArgTypeRegularExpression,
- "Set the breakpoint specifying a regular expression to match a pattern in the source text in a given source file." },
+ "Set the breakpoint by specifying a regular expression which is matched against the source text in a source file or files "
+ "specified with the -f option. The -f option can be specified more than once. "
+ "If no source files are specified, uses the current \"default source file\"" },
{ LLDB_OPT_SET_10, true, "language-exception", 'E', required_argument, NULL, 0, eArgTypeLanguage,
"Set the breakpoint on exceptions thrown by the specified language (without options, on throw but not catch.)" },