On 07/01/2019 13:22, Florian Weimer wrote:
* Pavel Labath:

Thanks. I think this is what I suspected. The server is extremely slow
in responding to the qHostInfo packet. This timeout for this was
recently increased to 10 seconds, but it looks like 7.0 still has the
default (1 second) timeout.

If you don't want to recompile or update, you should be able to work
around this by increasing the default timeout with the following
command "settings set plugin.process.gdb-remote.packet-timeout 10".

I see, that helps.

There's a host name in the qHostInfo response?  Where's the code that
determines the host name?  On the other end?  I wonder if it performs a
DNS lookup.  That could explain the delay.

Thanks,
Florian


Yes, there's a dns lookup being done on the other end. TBH, I'm not really sure what's it being used for. Maybe we should try deleting the hostname field from the qHostInfo response (or just put an IP address there).
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to