Clarify the help for "breakpoint command add" and "watchpoint command add".
authorJim Ingham <jingham@apple.com>
Tue, 4 May 2021 00:17:51 +0000 (17:17 -0700)
committerJim Ingham <jingham@apple.com>
Tue, 4 May 2021 00:22:43 +0000 (17:22 -0700)
commit60ad0fd3c8bf18dc1a307b97e9e3eb21dd5e4cfb
tree7a7cc2c68f5a134f5582455b63ec26756741dec1
parentd14d84af2f5ebb8ae2188ce6884a29a586dc0a40
Clarify the help for "breakpoint command add" and "watchpoint command add".

These two commands add a list of commands to the breakpoint/watchpoint. The current
implementation only supports replacing the current command list.  I started with
that as overwrite seems to be the most common operation.  But using "add" will
allow us to later offer other add-modes: "prepend", "append" and "insert".
That and "overwrite" then make up a useful set of options for this operation.
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
lldb/source/Commands/CommandObjectWatchpointCommand.cpp