[lldb-dev] lldb equivalent for gdb's "monitor" command

Sean Callanan scallanan at apple.com
Mon Nov 11 10:18:48 PST 2013

> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.

can you do something about this message?  I don’t think it’s helpful for mailing lists, esp. since records are being made of this message on the Web for the public to read...

On topic, you’d probably want to use Python to extend the command set.  You can read about custom commands here:
Check out “Create a new LLDB command using a Python function.”

The “process plugin packet send” command looks like the right backend to use when sending data back and forth from your custom debugserver implementation.


On Nov 11, 2013, at 1:10 AM, Kemper, Benjamin <benjamin.kemper at intel.com> wrote:

> Hi,
> I'm implementing a debugger backend, which talks to lldb using the (extended) gdb protocol. To provide further functionality we use the gdbserver "monitor" command to provide "custom" commands to the debugger.
> I couldn't find anything similar in lldb in the help or the web. Is there another way of getting the same functionality in lldb?
> Regards,
> Benjamin.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131111/3801a6a5/attachment.html>

More information about the lldb-dev mailing list