Refine error msgs from CommandObject & Disassemble
authorJason Molenda <jason@molenda.com>
Wed, 2 Mar 2022 19:17:01 +0000 (11:17 -0800)
committerJason Molenda <jason@molenda.com>
Wed, 2 Mar 2022 19:17:48 +0000 (11:17 -0800)
commitdaba82362228b4aa460c26079c028ebf832066fd
tree760df1ee2ac35abdc1e9859c0b1ac6ce8f457bc8
parent00b6efc83056c480a290eebea0e26756bb6c45fd
Refine error msgs from CommandObject & Disassemble

Make it clearer for end users why a command cannot be used
when a process is not stopped, etc.

Differential Revision: https://reviews.llvm.org/D120594
lldb/include/lldb/Interpreter/CommandObject.h
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/test/Shell/Commands/command-disassemble.s