kastiglione created this revision.
kastiglione added a reviewer: JDevlieghere.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Previously, importing `crashlog` resulted in a message being printed. The
message was about other commands (those in heap.py), not `crashlog`. Some users
may see no output and think `crashlog` wasn't successfully loaded. This ensures
users see that `crashlog` is loaded.
rdar://88283132
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119155
Files:
lldb/examples/python/crashlog.py
Index: lldb/examples/python/crashlog.py
===================================================================
--- lldb/examples/python/crashlog.py
+++ lldb/examples/python/crashlog.py
@@ -1247,3 +1247,5 @@
'command script add -c lldb.macosx.crashlog.Symbolicate crashlog')
debugger.HandleCommand(
'command script add -f lldb.macosx.crashlog.save_crashlog
save_crashlog')
+ print('"crashlog" and "save_crashlog" commands have been installed, use '
+ 'the --help" options on these commands for detailed help.')
Index: lldb/examples/python/crashlog.py
===================================================================
--- lldb/examples/python/crashlog.py
+++ lldb/examples/python/crashlog.py
@@ -1247,3 +1247,5 @@
'command script add -c lldb.macosx.crashlog.Symbolicate crashlog')
debugger.HandleCommand(
'command script add -f lldb.macosx.crashlog.save_crashlog save_crashlog')
+ print('"crashlog" and "save_crashlog" commands have been installed, use '
+ 'the --help" options on these commands for detailed help.')
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits