diff options
author | Enrico Granata <egranata@apple.com> | 2012-05-31 01:09:06 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-05-31 01:09:06 +0000 |
commit | 5f5ab60274277be5af7765d0fd288fe2c454e164 (patch) | |
tree | 3e1b6dee9fc78ddfa1b29edc90d45be6fbf9c7a7 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
parent | 368461cad0cbbb7e7c2151dd4ca0412d8d71c21a (diff) | |
download | bcm5719-llvm-5f5ab60274277be5af7765d0fd288fe2c454e164.tar.gz bcm5719-llvm-5f5ab60274277be5af7765d0fd288fe2c454e164.zip |
<rdar://problem/11328896> Fixing a bug where regex commands were saved in the history even if they came from a 'command sourced' file - this fix introduces a command sourcing depth and disables history for all levels of depth > 0, which means no commands go into history when being sourced from a file. we need an integer depth because command files might themselves source other command files, ...
llvm-svn: 157727
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index ae519af64b1..40e9ee9dbe8 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -866,7 +866,8 @@ CommandObjectBreakpointCommand::BreakpointOptionsCallbackFunction stop_on_continue, data->stop_on_error, echo_commands, - print_results, + print_results, + eLazyBoolNo, result); result.GetImmediateOutputStream()->Flush(); result.GetImmediateErrorStream()->Flush(); |