[lldb-dev] Documentation LLDB-MI
Ted Woodward via lldb-dev
lldb-dev at lists.llvm.org
Fri May 26 07:27:50 PDT 2017
lldb-mi uses the gdb/mi interface, which is defined here: https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html . The lldb-mi implementation is slightly different in some ways, but nothing that should affect what you want to do.
Looking at the code (in <lldb>/tools/lldb-mi/MICmdCmdFile.cpp) for -file-exec-and-symbols, I don’t see a way to read a core file with mi commands, but you can give an lldb command that will be passed through, something like “target create foo.elf -c foo.core”
You build lldb-mi the same way you build lldb, just use the lldb-mi target. For example, “make lldb-mi”.
--
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 Laghzaoui Mohammed via lldb-dev
Sent: Friday, May 26, 2017 5:43 AM
To: lldb-dev at lists.llvm.org
Subject: [lldb-dev] Documentation LLDB-MI
Hi Lists,
I have to implement a graphical interface to open the Dump of Macos with LLDB.
I know how to do this using the command line, but this and less productive, I found that LLDB-MI little make me an interface to do this need but I did not find an example of LLDB-MI in C ++ and How to build LLDB-MI.
To detail our need:
1 - opening of a core dump.
2 -__ reading the value of a memory address.
3 -__ list threads and frames.
4 -__ get assembler of each frame.
Thank you in advance for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170526/0bff4ee9/attachment.html>
More information about the lldb-dev
mailing list