diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-08-09 23:50:01 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-08-09 23:50:01 +0000 |
commit | ce68b02c99d4f87b0d8bf7394333b55c56285a08 (patch) | |
tree | 5f6c70622627900db2b4f7323e78a1750572f4fc /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | b91e48992329d7039c4c3899a5e6df02cbf3cf90 (diff) | |
download | llvm-ce68b02c99d4f87b0d8bf7394333b55c56285a08.zip llvm-ce68b02c99d4f87b0d8bf7394333b55c56285a08.tar.gz llvm-ce68b02c99d4f87b0d8bf7394333b55c56285a08.tar.bz2 |
CFString.py now shows contents in a more NSString-like way (e.g. you get @"Hello" instead of "Hello")
new --raw-output (-R) option to frame variable prevents using summaries and synthetic children
other future formatting enhancements will be excluded by using the -R option
test case enhanced to check that -R works correctly
llvm-svn: 137185
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index eedc0cc..f0a061d 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -500,10 +500,10 @@ public: m_varobj_options.show_location, m_varobj_options.use_objc, m_varobj_options.use_dynamic, - m_varobj_options.use_synth, + m_varobj_options.be_raw ? false : m_varobj_options.use_synth, false, m_varobj_options.flat_output, - m_varobj_options.no_summary_depth); + m_varobj_options.be_raw ? UINT32_MAX : m_varobj_options.no_summary_depth); } } } @@ -553,10 +553,10 @@ public: m_varobj_options.show_location, m_varobj_options.use_objc, m_varobj_options.use_dynamic, - m_varobj_options.use_synth, + m_varobj_options.be_raw ? false : m_varobj_options.use_synth, false, m_varobj_options.flat_output, - m_varobj_options.no_summary_depth); + m_varobj_options.be_raw ? UINT32_MAX : m_varobj_options.no_summary_depth); } else { @@ -645,10 +645,10 @@ public: m_varobj_options.show_location, m_varobj_options.use_objc, m_varobj_options.use_dynamic, - m_varobj_options.use_synth, + m_varobj_options.be_raw ? false : m_varobj_options.use_synth, false, m_varobj_options.flat_output, - m_varobj_options.no_summary_depth); + m_varobj_options.be_raw ? UINT32_MAX : m_varobj_options.no_summary_depth); } } } |