Make the interactive command interpreter build into the "crashlog" command work correctly when run inside LLDB. Before this fix the "cmd.Cmd" object was trying to read from stdin itself and it was competing without command interpreter for the bytes.
llvm-svn: 159688
This commit is contained in:
@@ -370,6 +370,7 @@ class Interactive(cmd.Cmd):
|
||||
|
||||
def __init__(self, crash_logs):
|
||||
cmd.Cmd.__init__(self)
|
||||
self.use_rawinput = False
|
||||
self.intro = 'Interactive crashlogs prompt, type "help" to see a list of supported commands.'
|
||||
self.crash_logs = crash_logs
|
||||
self.prompt = '% '
|
||||
|
||||
Reference in New Issue
Block a user