forked from OSchip/llvm-project
[lldb-mi] Add (gdb) prompt after =breakpoint-modified and =breakpoint-created.
Reviewed by: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12113 llvm-svn: 245488
This commit is contained in:
parent
ba275f9947
commit
a431f152df
|
@ -351,7 +351,8 @@ CMICmnLLDBDebuggerHandleEvents::HandleEventSBBreakpointCmn(const lldb::SBEvent &
|
|||
|
||||
const CMICmnMIValueResult miValueResultC("bkpt", miValueTuple);
|
||||
const CMICmnMIOutOfBandRecord miOutOfBandRecord(CMICmnMIOutOfBandRecord::eOutOfBand_BreakPointModified, miValueResultC);
|
||||
const bool bOk = MiOutOfBandRecordToStdout(miOutOfBandRecord);
|
||||
bool bOk = MiOutOfBandRecordToStdout(miOutOfBandRecord);
|
||||
bOk = bOk && CMICmnStreamStdout::WritePrompt();
|
||||
|
||||
return bOk;
|
||||
}
|
||||
|
@ -440,6 +441,7 @@ CMICmnLLDBDebuggerHandleEvents::HandleEventSBBreakpointAdded(const lldb::SBEvent
|
|||
const CMICmnMIValueResult miValueResult("bkpt", miValueTuple);
|
||||
const CMICmnMIOutOfBandRecord miOutOfBandRecord(CMICmnMIOutOfBandRecord::eOutOfBand_BreakPointModified, miValueResult);
|
||||
bOk = MiOutOfBandRecordToStdout(miOutOfBandRecord);
|
||||
bOk = bOk && CMICmnStreamStdout::WritePrompt();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -462,6 +464,7 @@ CMICmnLLDBDebuggerHandleEvents::HandleEventSBBreakpointAdded(const lldb::SBEvent
|
|||
const CMICmnMIValueResult miValueResult("bkpt", miValueTuple);
|
||||
const CMICmnMIOutOfBandRecord miOutOfBandRecord(CMICmnMIOutOfBandRecord::eOutOfBand_BreakPointCreated, miValueResult);
|
||||
bOk = MiOutOfBandRecordToStdout(miOutOfBandRecord);
|
||||
bOk = bOk && CMICmnStreamStdout::WritePrompt();
|
||||
}
|
||||
|
||||
return bOk;
|
||||
|
|
Loading…
Reference in New Issue