The code added in svn trunk 264332 causes "(lldb)" to be printed in the middle of program console output. This fix restores the behavior for non-Windows platforms to before the patch.
For a C++ program with the following source:
... printf("\n#Break: Function parameters - arrays"); printf("\n#Evaluate:A[0]-C[0] + (A[1]-C[1])*1000 #ExpectedEval:%d", 1001); printf("\n#Evaluate:FuncArr(C,B) #ExpectedEval:%d", RES); printf("\n#Evaluate:A[0]-C[0] + (A[1]-C[1])*1000 + 0 #ExpectedEval:%d", 0); printf("\n#Evaluate:ref[0] + ref[1]*10 #ExpectedEval:%d", 65); printf("\n#Evaluate:FuncArrRet(7,8) #ExpectedLike:deferred"); ...
the following output is produced when running the program in lldb-mi:
#Break: Function parameters - arrays #Evaluate:A[0]-C[0] + (A[1]-C[1])*1000 #ExpectedEval:1001 #Evaluate:FuncArr(C,B) #ExpectedEval:4321 #Evaluate:A[0]-C[0] + (A[1]-C[1])*1000 + 0 #ExpectedEval:0 #Evaluate:ref[0] + ref[1]*10 #ExpectedEval:65 #Evalua(lldb) te:FuncArrRet(7,8) #ExpectedLike:deferred ...
Note the "(lldb) " inserted into the program output of the 6th print statement. This is a problem for debuggers which want to display the program output to the user (or in this case, for a test harness which reads the program output and uses it to interactively test lldb-mi).