[lldb-dev] Help needed regarding LLDB/MI

RISHABH GUPTA via lldb-dev lldb-dev at lists.llvm.org
Wed Mar 16 11:07:14 PDT 2016


On Wed, Mar 16, 2016 at 10:13 PM, Ted Woodward <ted.woodward at codeaurora.org>
wrote:

> Hi Rishabh,
>
>
>
Hi Ted,

> It looks like you’re trying to use lldb commands when running lldb-mi.
> lldb-mi is the gdb-mi command layer on top of lldb, primarily used by tools
> like Eclipse to talk to lldb or gdb using a similar command set. These
> commands are documented here:
> https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html .
>
>
>
I was aware that commands like "n","list" are all Non MI commands .I  was
actually looking for their corresponding commands for which I found
https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html#GDB_002fMI  page
more helpful.
Thanks :)


> If you’re interested in running the lldb command line debugger, don’t
> start MI, but just lldb, with “lldb”.
>
>
>
> Ted
>
>
>
> --
>
> Qualcomm Innovation Center, Inc.
>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
> Linux Foundation Collaborative Project
>
>
>
> *From:* lldb-dev [mailto:lldb-dev-bounces at lists.llvm.org] *On Behalf Of *RISHABH
> GUPTA via lldb-dev
> *Sent:* Friday, March 11, 2016 11:30 AM
> *To:* lldb-dev at lists.llvm.org
> *Subject:* [lldb-dev] Help needed regarding LLDB/MI
>
>
>
> Hello all,
>
> I have started using LLDB/MI but there are some commands that are not
> working .I start the MI in terminal as "lldb-mi-3.6 --interpreter" and then
> launch the application that  I want to debug but commands like "n"
> ,"list","continue" ,"step" are not working.There is this error message that
> gets displayed on giving these commands
>
> "^error,msg="Driver. Received command 'command_name'. It was not handled.
> Command 'continue' not in Command Factory"
>
> I tried looking for  the substitutes of these commands here
> https://github.com/llvm-mirror/lldb/tree/7535162178eada833e72a5525fc26dcc04e7331e/tools/lldb-mi
> but could not find any.
>
> Could anyone please help me out with this?
>
> Thank you :)
>
> Rishabh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160316/97652fb9/attachment.html>


More information about the lldb-dev mailing list