[Lldb-commits] [lldb] r159688 - /lldb/trunk/examples/python/crashlog.py
Greg Clayton
gclayton at apple.com
Tue Jul 3 14:40:18 PDT 2012
Author: gclayton
Date: Tue Jul 3 16:40:18 2012
New Revision: 159688
URL: http://llvm.org/viewvc/llvm-project?rev=159688&view=rev
Log:
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.
Modified:
lldb/trunk/examples/python/crashlog.py
Modified: lldb/trunk/examples/python/crashlog.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/crashlog.py?rev=159688&r1=159687&r2=159688&view=diff
==============================================================================
--- lldb/trunk/examples/python/crashlog.py (original)
+++ lldb/trunk/examples/python/crashlog.py Tue Jul 3 16:40:18 2012
@@ -370,6 +370,7 @@
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 = '% '
More information about the lldb-commits
mailing list