From f1539b9db39a59a5e50c065c39e491ba4f890377 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Thu, 7 Nov 2019 12:44:03 -0800 Subject: 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 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands') 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': -- cgit v1.2.3