[Lldb-commits] [PATCH] Extends StringExtractorGDBRemote to support debugger packets.

Jean-Daniel Dupas devlists at shadowlab.org
Thu Dec 5 11:24:00 PST 2013


Most of ProcessLaunchInfo is already filled by your existing "platform server" implementation.

We just need to handle the Attach specific packages, and of course update the 'Handle_A' implementation to start debugging the process.

Le 5 déc. 2013 à 19:44, Greg Clayton <gclayton at apple.com> a écrit :

> Looks good.
> Jean-Daniel:
> When you get to the point where you start filling in the functions for anything that stores up info for when a process is to be launched (setting environment variables, setting working directory, setting launch architecture), we should have GDBRemoteCommunicationServer have ProcessLaunchInfo and ProcessAttachInfo member variables that can be slowly filled in. Then when the 'A' packet, or any of the vAttach packets come in, we can use the current ProcessLaunchInfo or ProcessAttachInfo member variable to do the launching/attaching.
> On Dec 5, 2013, at 12:43 AM, Jean-Daniel Dupas <devlists at shadowlab.org> wrote:
>> http://llvm-reviews.chandlerc.com/D2337
>> Files:
>> source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
>> source/Utility/StringExtractorGDBRemote.cpp
>> source/Utility/StringExtractorGDBRemote.h
>> <D2337.1.patch>_______________________________________________
>> lldb-commits mailing list
>> lldb-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

-- Jean-Daniel

More information about the lldb-commits mailing list