[lldb-dev] Question about qC gdb request.

Jean-Daniel Dupas devlists at shadowlab.org
Thu Dec 1 14:55:52 PST 2011


Le 1 déc. 2011 à 19:52, Greg Clayton a écrit :

> It was this way after misinterpreting what the GPLv2 version of GDB does (our darwin version) with the response. So it has been wrong for a while and does need to be fixed.
> 
> We need to add a new packet that gets information about the process (something like "qProcessInfo") that is being debugging in the case where we attach by name and need to know the process ID of what we attached to.

Isn't what qGetPid already does ? 



> On Dec 1, 2011, at 8:51 AM, Jean-Daniel Dupas wrote:
> 
>> Hello,
>> 
>> I'm actually studying the debugserver, and I have a qestion about implementation of the qC (get current thread ID) handler.
>> 
>> Why does it returned the current process ID, and not GetCurrentThread() ? 
>> 
>> 
>> -- Jean-Daniel
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 

-- Jean-Daniel








More information about the lldb-dev mailing list