diff options
author | Jim Ingham <jingham@apple.com> | 2013-07-02 02:09:46 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-07-02 02:09:46 +0000 |
commit | b0b4513ea2c1081f489c6a29f614aa511909ba43 (patch) | |
tree | 0fd8ca84ec222b925420299b4bf2d5cc5523bf9e /lldb/source/Commands/CommandObjectWatchpointCommand.cpp | |
parent | 92821745bf3656ef88b476cb99da93c48d7bc609 (diff) | |
download | bcm5719-llvm-b0b4513ea2c1081f489c6a29f614aa511909ba43.tar.gz bcm5719-llvm-b0b4513ea2c1081f489c6a29f614aa511909ba43.zip |
Use the "last created watchpoint" rather than asserting on watchpoint commands passing no watchpoint ID.
<rdar://problem/14327560>
llvm-svn: 185406
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpointCommand.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp index 0be21f1fdd5..4e200465031 100644 --- a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp @@ -512,7 +512,7 @@ protected: } std::vector<uint32_t> valid_wp_ids; - if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(command, valid_wp_ids)) + if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(target, command, valid_wp_ids)) { result.AppendError("Invalid watchpoints specification."); result.SetStatus(eReturnStatusFailed); @@ -678,7 +678,7 @@ protected: } std::vector<uint32_t> valid_wp_ids; - if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(command, valid_wp_ids)) + if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(target, command, valid_wp_ids)) { result.AppendError("Invalid watchpoints specification."); result.SetStatus(eReturnStatusFailed); @@ -770,7 +770,7 @@ protected: } std::vector<uint32_t> valid_wp_ids; - if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(command, valid_wp_ids)) + if (!CommandObjectMultiwordWatchpoint::VerifyWatchpointIDs(target, command, valid_wp_ids)) { result.AppendError("Invalid watchpoints specification."); result.SetStatus(eReturnStatusFailed); |