aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-01-29 01:48:30 +0000
committerEnrico Granata <egranata@apple.com>2013-01-29 01:48:30 +0000
commitb84a9dbf6b787f10cffe43a825a0b75b6f87fec2 (patch)
tree0d25163e0e7e346f0b07e14a2c8917e92b9c2075 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parentd11c7a16289b43094b9de51ed437770607cb45a5 (diff)
downloadllvm-b84a9dbf6b787f10cffe43a825a0b75b6f87fec2.zip
llvm-b84a9dbf6b787f10cffe43a825a0b75b6f87fec2.tar.gz
llvm-b84a9dbf6b787f10cffe43a825a0b75b6f87fec2.tar.bz2
<rdar://problem/12552374>
Replacing the address argument type with address-expression in cases where StringToAddress() is used, and hence an expression can be passed where previously only a numeric address was allowed This makes the documentation more clear and helps users discover that they can truly pass in an expression in these situations. llvm-svn: 173753
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index b43cf86..87566ad 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -639,7 +639,7 @@ CommandObjectBreakpointSet::CommandOptions::g_option_table[] =
// { 0, false, "column", 'C', required_argument, NULL, "<column>",
// "Set the breakpoint by source location at this particular column."},
- { LLDB_OPT_SET_2, true, "address", 'a', required_argument, NULL, 0, eArgTypeAddress,
+ { LLDB_OPT_SET_2, true, "address", 'a', required_argument, NULL, 0, eArgTypeAddressOrExpression,
"Set the breakpoint by address, at the specified address."},
{ LLDB_OPT_SET_3, true, "name", 'n', required_argument, NULL, CommandCompletions::eSymbolCompletion, eArgTypeFunctionName,