[Lldb-commits] [lldb] r136026 - /lldb/trunk/examples/summaries/lldb

Johnny Chen johnny.chen at apple.com
Mon Jul 25 17:22:59 PDT 2011


Author: johnny
Date: Mon Jul 25 19:22:58 2011
New Revision: 136026

URL: http://llvm.org/viewvc/llvm-project?rev=136026&view=rev
Log:
Minor modification.

Modified:
    lldb/trunk/examples/summaries/lldb

Modified: lldb/trunk/examples/summaries/lldb
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/lldb?rev=136026&r1=136025&r2=136026&view=diff
==============================================================================
--- lldb/trunk/examples/summaries/lldb (original)
+++ lldb/trunk/examples/summaries/lldb Mon Jul 25 19:22:58 2011
@@ -11,4 +11,5 @@
 type summary add -w lldb lldb_private::Variable            -f "${var.m_type.m_name} ${var.m_name}"
 type summary add -w lldb lldb_private::StopInfo            -f "ID: ${var.m_stop_id}, ${var.m_description}"
 type summary add -w lldb lldb_private::FileSpec            -f "file: ${var.m_filename} dir: ${var.m_directory}"
-type summary add -w lldb lldb::ConnectionStatus            -f "[enum=${var%E} val=${var%i}]"
+type summary add -w lldb -v lldb::ConnectionStatus         -f "[enum=${var%E} val=${var%i}]"
+# Where '-v' tells type summary not to show the value itself, but just use the summary format.
\ No newline at end of file





More information about the lldb-commits mailing list