summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/examples/summaries/lldb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/examples/summaries/lldb b/lldb/examples/summaries/lldb
index 5e60fde0dcf..a03da3a4a19 100644
--- a/lldb/examples/summaries/lldb
+++ b/lldb/examples/summaries/lldb
@@ -11,4 +11,5 @@ type summary add -w lldb lldb_private::CommandObject -f "Command name: ${v
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
OpenPOWER on IntegriCloud