There was a think-o in a previous commit that made us only able to define 1 line commands when using command script add interactively. There was also no test for this feature, so I fixed the think-o and added a test.
5 lines
126 B
Plaintext
5 lines
126 B
Plaintext
command script add my_cmd
|
|
result.PutCString("My Command Result")
|
|
result.SetStatus(lldb.eReturnStatusSuccessFinishResult)
|
|
DONE
|