diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-08-12 16:42:31 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-08-12 16:42:31 +0000 |
commit | 61a80ba6c3dc8dbc64bb25ae4036b52e42ada0a8 (patch) | |
tree | ae03f865ca6d143b38c161222a890311ea2cfa69 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | b4d3733fca1bdf87e79025fb299f3d459b2c4256 (diff) | |
download | bcm5719-llvm-61a80ba6c3dc8dbc64bb25ae4036b52e42ada0a8.tar.gz bcm5719-llvm-61a80ba6c3dc8dbc64bb25ae4036b52e42ada0a8.zip |
Giving a warning to the user the first time children are truncated by the new cap setting
llvm-svn: 137462
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index d03d3bb18a0..a05663805b8 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -660,6 +660,14 @@ public: result.SetStatus (eReturnStatusSuccessFinishResult); } } + + if (m_interpreter.TruncationWarningNecessary()) + { + result.GetOutputStream().Printf(m_interpreter.TruncationWarningText(), + m_cmd_name.c_str()); + m_interpreter.TruncationWarningGiven(); + } + return result.Succeeded(); } protected: |