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:
Greg Clayton 2012-07-03 21:40:18 +00:00
parent 0d44a50426
commit f7ab038ada
1 changed files with 1 additions and 0 deletions

View File

@ -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 = '% '