[Lldb-commits] [lldb] r196610 - Fixed the GDBRemoteCommuncation to return a new GDBRemoteCommuncation::PacketResult enum for all packet sends/receives.

Ed Maste emaste at freebsd.org
Tue Dec 10 11:21:28 PST 2013

> This actually does fix attaching to GDB servers that don't support QStartNoAckMode and was the main reason for making this fix!

Ok.  I'm trying to use lldb against QEMU's GDB server, and fail while
trying the initial handshake.

Debug log shows:

(lldb) log enable gdb-remote packets
(lldb) gdb-remote localhost:1234
<   1> send packet: +
history[1] tid=0x18a33 <   1> send packet: +
<  19> send packet: $QStartNoAckMode#b0
<   1> read packet: +
<   4> read packet: $#00
<   1> send packet: +
error: failed to get reply to handshake packet

As far as I can tell the packet exchange looks like what I'd expect.

More information about the lldb-commits mailing list