[lldb-dev] lldb-114: initial process state wasn't stopped
Charles Davis
cdavis at mymail.mines.edu
Fri Feb 17 20:27:57 PST 2012
On Feb 17, 2012, at 4:19 PM, Jim Ingham wrote:
>
> On Feb 17, 2012, at 2:55 PM, Filipe Cabecinhas wrote:
>>
>> -----------------------------------------------
>>
>> With the lldb I built, I get:
>> -----------------------------------------------
>>
>> [~]% ./dev/lldb/build/Debug/lldb --version
>> LLDB-115
>>
>>
>> [~]% ./dev/lldb/build/Debug/lldb ./tests
>> (lldb) log enable gdb-remote all
>> (lldb) run
>>
>>
>>
>> (snip)
>>
>> <lldb.process.gdb-remote.async> GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse () sending continue packet: vAttach;2265
>> <lldb.process.gdb-remote.async> send packet: $vAttach;2265#00
>> <lldb.process.gdb-remote.async> GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse () WaitForPacket(vAttach;2265)
>> <lldb.process.gdb-remote.async> size_t GDBRemoteCommunication::WaitForPacketWithTimeoutMicroSecondsNoLock(StringExtractorGDBRemote &, uint32_t): Read (buffer, (sizeof(buffer), timeout_usec = 0xffffffff, status = success, error = (null)) => bytes_read = 7
>> <lldb.process.gdb-remote.async> read packet: $E01#00
>> <lldb.process.gdb-remote.async> GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse () got packet: E01
>> <lldb.process.gdb-remote.async> GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse () => invalid
What do things look like on the debugserver side? Run debugserver like so:
debugserver -gv -ldnb.log <host>:<port> <program>
I've attached what I get here. It looks like task_for_pid() is actually succeeding, but at some point the port becomes nulled out--at least, that's what happens to me.
Chip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnb.log
Type: application/octet-stream
Size: 5383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120217/66192e85/attachment.obj>
More information about the lldb-dev
mailing list