Re: [lldb-dev] Serial port support in LLDB

2021-10-08 Thread Pavel Labath via lldb-dev
On 08/10/2021 11:06, Pavel Labath via lldb-dev wrote: On 06/10/2021 14:59, Michał Górny wrote: On Wed, 2021-10-06 at 14:32 +0200, Pavel Labath wrote: Let me try to make a counterproposal. Since the serial parameters are a property of a specific connection, and one could theoretically have be

Re: [lldb-dev] Serial port support in LLDB

2021-10-08 Thread Pavel Labath via lldb-dev
On 06/10/2021 14:59, Michał Górny wrote: On Wed, 2021-10-06 at 14:32 +0200, Pavel Labath wrote: Let me try to make a counterproposal. Since the serial parameters are a property of a specific connection, and one could theoretically have be debugging multiple processes with different connection

Re: [lldb-dev] Serial port support in LLDB

2021-10-06 Thread Michał Górny via lldb-dev
On Wed, 2021-10-06 at 14:32 +0200, Pavel Labath wrote: > Thanks for the nice summary Michał. I've found it very helpful. > > The thing I am missing from this proposal is how would those settings > translate into actual termios calls? Like, who would be responsible > reading those settings and

Re: [lldb-dev] Serial port support in LLDB

2021-10-06 Thread Pavel Labath via lldb-dev
Thanks for the nice summary Michał. I've found it very helpful. The thing I am missing from this proposal is how would those settings translate into actual termios calls? Like, who would be responsible reading those settings and acting on them? Currently we have some tty code in

Re: [lldb-dev] Serial port support in LLDB

2021-10-05 Thread Dallman, John via lldb-dev
Subject: [lldb-dev] Serial port support in LLDB > > Hi, everyone. > > I'm working on improving LLDB's feature parity with GDB. As part of this, I'm > working on bettering LLDB's serial port support. Since serial ports are not > that common these days, I've been asked

[lldb-dev] Serial port support in LLDB

2021-10-05 Thread Michał Górny via lldb-dev
Hi, everyone. I'm working on improving LLDB's feature parity with GDB. As part of this, I'm working on bettering LLDB's serial port support. Since serial ports are not that common these days, I've been asked to explain a bit what I'd like to do. At this point, LLDB (client) has minimal