diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-06-25 04:35:01 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-06-25 04:35:01 +0000 |
| commit | 1ba7c4d01e44599064d2831add03bf8f5c1eb253 (patch) | |
| tree | 86ffb85194b3dbbb99b5c74d9dd88c7571e64ee0 /lldb/source/API/SBFrame.cpp | |
| parent | 5836852e9c61ff114f2ff3004071509d376b3646 (diff) | |
| download | bcm5719-llvm-1ba7c4d01e44599064d2831add03bf8f5c1eb253.tar.gz bcm5719-llvm-1ba7c4d01e44599064d2831add03bf8f5c1eb253.zip | |
Bumped Xcode project versions to lldb-65 and debugserver-140.
llvm-svn: 133865
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
| -rw-r--r-- | lldb/source/API/SBFrame.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp index 334429a1944..11a0eff33f1 100644 --- a/lldb/source/API/SBFrame.cpp +++ b/lldb/source/API/SBFrame.cpp @@ -22,6 +22,7 @@ #include "lldb/Core/ValueObjectRegister.h" #include "lldb/Core/ValueObjectVariable.h" #include "lldb/Expression/ClangUserExpression.h" +#include "lldb/Host/Host.h" #include "lldb/Symbol/Block.h" #include "lldb/Symbol/SymbolContext.h" #include "lldb/Symbol/VariableList.h" @@ -746,6 +747,13 @@ SBFrame::EvaluateExpression (const char *expr, lldb::DynamicValueType fetch_dyna { Mutex::Locker api_locker (m_opaque_sp->GetThread().GetProcess().GetTarget().GetAPIMutex()); + + StreamString frame_description; + m_opaque_sp->DumpUsingSettingsFormat (&frame_description); + + Host::SetCrashDescriptionWithFormat ("SBFrame::EvaluateExpression (expr = \"%s\", fetch_dynamic_value = %u) %s", + expr, fetch_dynamic_value, frame_description.GetString().c_str()); + ExecutionResults exe_results; const bool unwind_on_error = true; const bool keep_in_memory = false; |

