diff options
author | Stephane Sezer <sas@cd80.net> | 2016-04-05 17:30:31 +0000 |
---|---|---|
committer | Stephane Sezer <sas@cd80.net> | 2016-04-05 17:30:31 +0000 |
commit | 6944f0eeb0b56868f32e050360db143972cb57a9 (patch) | |
tree | 8afbba6ab640cd2ed2402841f4d02f5a58a4ee8c /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | bef0ff8c7fa0eed4c4beedbba18706161d208a5d (diff) | |
download | bcm5719-llvm-6944f0eeb0b56868f32e050360db143972cb57a9.tar.gz bcm5719-llvm-6944f0eeb0b56868f32e050360db143972cb57a9.zip |
Update watchpoint help to use new -s flag
Summary: Flag updated in D233237
Reviewers: spyffe, jingham, Eugene.Zelenko
Subscribers: lldb-commits, sas
Differential Revision: http://reviews.llvm.org/D18660
Change by Francis Ricci <fjricci@fb.com>
llvm-svn: 265421
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpoint.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index 17f44623216..d3071d5cfd7 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -894,9 +894,9 @@ public: "watchpoint set variable", "Set a watchpoint on a variable. " "Use the '-w' option to specify the type of watchpoint and " - "the '-x' option to specify the byte size to watch for. " + "the '-s' option to specify the byte size to watch for. " "If no '-w' option is specified, it defaults to write. " - "If no '-x' option is specified, it defaults to the variable's " + "If no '-s' option is specified, it defaults to the variable's " "byte size. " "Note that there are limited hardware resources for watchpoints. " "If watchpoint setting fails, consider disable/delete existing ones " @@ -932,7 +932,7 @@ corresponding to the byte size of the data type." // Push the data for the only argument into the m_arguments vector. m_arguments.push_back (arg); - // Absorb the '-w' and '-x' options into our option group. + // Absorb the '-w' and '-s' options into our option group. m_option_group.Append (&m_option_watchpoint, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1); m_option_group.Finalize(); } @@ -1103,9 +1103,9 @@ public: "watchpoint set expression", "Set a watchpoint on an address by supplying an expression. " "Use the '-w' option to specify the type of watchpoint and " - "the '-x' option to specify the byte size to watch for. " + "the '-s' option to specify the byte size to watch for. " "If no '-w' option is specified, it defaults to write. " - "If no '-x' option is specified, it defaults to the target's " + "If no '-s' option is specified, it defaults to the target's " "pointer byte size. " "Note that there are limited hardware resources for watchpoints. " "If watchpoint setting fails, consider disable/delete existing ones " @@ -1122,7 +1122,7 @@ public: R"( Examples: -(lldb) watchpoint set expression -w write -x 1 -- foo + 32 +(lldb) watchpoint set expression -w write -s 1 -- foo + 32 Watches write access for the 1-byte region pointed to by the address 'foo + 32')" ); @@ -1140,7 +1140,7 @@ Examples: // Push the data for the only argument into the m_arguments vector. m_arguments.push_back (arg); - // Absorb the '-w' and '-x' options into our option group. + // Absorb the '-w' and '-s' options into our option group. m_option_group.Append (&m_option_watchpoint, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1); m_option_group.Finalize(); } |