[Lldb-commits] [lldb] r202525 - Fixed all overlapping prompt issues.

Ed Maste emaste at freebsd.org
Tue Mar 4 05:52:43 PST 2014


Hi Greg,

On 3 March 2014 13:05, Greg Clayton <gclayton at apple.com> wrote:
> This might be happening because you guys don't actually hookup stdin/out/err on FreeBSD to the child process? If so, then I know why this is happening.

I think we're ok there, actually; the logic in the FreeBSD and Linux
ProcessMonitor classes is a bit different than the OS X case because
we don't have the same process separation, but it should still be
hooked up through lldb_utility::PseudoTerminal.  In any case my issue
didn't involve stdout from the process itself, only the lldb prompt
and the debugger output.

The Linux and FreeBSD ProcessMonitor inferior stdio and stop
notification etc. implementations are very similar, so I'm curious if
Linux behaves in a similar fashion.  Todd, do you see this on Linux?

On 3 March 2014 16:09, Greg Clayton <gclayton at apple.com> wrote:
> Ed,
>
> I checked in another fix, but this probably won't fix your issues.

Correct, I still saw the same behavior after your change.

> If this isn't what is happening on FreeBSD, you will need to debug why this is happening.

Indeed - thanks for the detailed description of how this should
operate.  I have a couple of avenues to investigate and will let you
know if I have any further questions based on what I find.

-Ed



More information about the lldb-commits mailing list