[Lldb-commits] [lldb] r361447 - Ack, added DWARFTypeUnit to the wrong target...
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Wed May 22 21:39:31 PDT 2019
> Modified: lldb/trunk/source/Host/common/Editline.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Editline.cpp?rev=361447&r1=361446&r2=361447&view=diff
> ==============================================================================
> --- lldb/trunk/source/Host/common/Editline.cpp (original)
> +++ lldb/trunk/source/Host/common/Editline.cpp Wed May 22 17:12:45 2019
> @@ -978,7 +978,9 @@ void Editline::ConfigureEditor(bool mult
> TerminalSizeChanged();
>
> if (m_history_sp && m_history_sp->IsValid()) {
> - m_history_sp->Load();
> + if (!m_history_sp->Load()) {
> + fputs("Could not load history file\n.", m_output_file);
> + }
> el_wset(m_editline, EL_HIST, history, m_history_sp->GetHistoryPtr());
> }
> el_set(m_editline, EL_CLIENTDATA, this);
>
>
Did you mean to commit this part or you just had it lying around?
More information about the lldb-commits
mailing list