[Bug 21314] New: Multiple command prompts with call command

Bug ID 21314
Summary Multiple command prompts with call command
Product lldb
Version unspecified
Hardware Macintosh
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter mjh@edg.com
Classification Unclassified

When using the "call" command, I sometimes get two "(lldb) " command prompts. 
This seems to have happened after upgrading to Xcode 6.0.1 last week.  We have
many debug routines that are designed to be called from the debugger, and some
of them don't have a trailing newline, which seems to result in behavior like

(lldb) call db_type(deduced_type)
(lldb) ng.Class<?>(lldb)

This should have printed "java.lang.Class<?>" with no newline, but the first
seven characters appear to have been overwritten by "(lldb) ".

Note that it appears to work when there's a newline:

(lldb) call (void)fprintf(f_debug, "Hello World\n")
Hello World
(lldb) call (void)fprintf(f_debug, "Hello World")
(lldb) orld(lldb)

Perhaps two prompts are being emitted in both cases, but when there's a newline
they overwrite each other?

Here's the version I'm using:

(lldb) version

A co-worker is using lldb-320.3.100 and doesn't see the problem.