diff options
author | Jim Ingham <jingham@apple.com> | 2019-11-07 12:44:03 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-11-07 14:25:04 -0800 |
commit | f1539b9db39a59a5e50c065c39e491ba4f890377 (patch) | |
tree | 089516574240ce6d21434c331842468dbe45133e /lldb/source/Commands | |
parent | 03b84e4f6d0e1c04f22d69cc445f36e1f713beb4 (diff) | |
download | bcm5719-llvm-f1539b9db39a59a5e50c065c39e491ba4f890377.tar.gz bcm5719-llvm-f1539b9db39a59a5e50c065c39e491ba4f890377.zip |
BreakpointDummyOptionGroup was using g_breakpoint_modify_options rather than g_breakpoint_dummy_options
causing the -D option for breakpoint set command to be incorrectly parsed.
Patch by Martin Svensson.
Differential Revision: https://reviews.llvm.org/D69425
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 5d0cc3d9dce..380f753ea33 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -180,7 +180,7 @@ public: ExecutionContext *execution_context) override { Status error; const int short_option = - g_breakpoint_modify_options[option_idx].short_option; + g_breakpoint_dummy_options[option_idx].short_option; switch (short_option) { case 'D': |