================ @@ -468,7 +468,23 @@ class CommandObjectProcessContinue : public CommandObjectParsed { case 'b': m_run_to_bkpt_args.AppendArgument(option_arg); m_any_bkpts_specified = true; - break; + break; + case 'F': + if (m_base_direction == lldb::RunDirection::eRunReverse) { + error = Status::FromErrorString( + "cannot specify both 'forward' and 'reverse'"); + break; + } + m_base_direction = lldb::RunDirection::eRunForward; + break; + case 'R': + if (m_base_direction == lldb::RunDirection::eRunForward) { + error = Status::FromErrorString( + "cannot specify both 'forward' and 'reverse'"); ---------------- vogelsgesang wrote:
We might want to add a test case for this error condition? https://github.com/llvm/llvm-project/pull/132783 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits