You will need LLDB's header files to LLDBMI2 and LLDB's framework to run it.
LLDB Framework provided with Xcode doesn't include headers files, and LLDB's headers extracted from LLVM's project tree are provided for your convenience.
LLDB Framework provided with Xcode can be used to run LLDBMI2.
LLDBMI2 comes as an eclipse C++ project.
##LLDBMI2 can be imported ...
- With GIT in shell windows
- From Eclipse, create a new workspace or use an existing one (e.g. /Users/user/git-lldbmi2)
- In a shell window, navigate to your workspace (e.g. /Users/user/git-lldbmi2)
- From the shell window, import the GIT project:
git clone https://github.com/freedib/lldbmi2.git lldbmi2
- From Eclipse, import the project with menu
File -> Import
. SelectGeneral -> Existing projects in Workspace
, then navigate up to the imported tree (just click Browse). You will need to import all projects (at least lldbmi2 and lldb-headers).
- From Eclipse with Egit
- From Eclipse, create a new workspace or use an existing one (eg /Users/user/git-lldbmi2)
- Import the project with menu
File -> Import
. SelectGit -> Projects from Git
, then clickNext
andClone URI
. - Copy
https://github.com/freedib/lldbmi2.git
in URI field, clickNext
, choose Master and clickNext
. - Specify the destination directory (e.g. /Users/user/git-lldbmi2/lldbmi2 then
Next
andNext
, then let Eclipse import projects it found.
A launch configuration is provided to test it. It requires the tests
application which is provided.
The default installation directory is /usr/local/bin.
- In a shell window, create a new root directory where you want to build LLDBMI2 (e.g.
mkdir ~/git-lldbmi2
) - Navigate to your workspace (e.g.
cd ~/git-lldbmi2
) - Import the GIT project:
git clone https://github.com/freedib/lldbmi2.git lldbmi2
. A sub-directory lldmi2 is created - Create a build directory: e.g.
mkdir build
- Navigate to build directory: e.g.
cd build
- Cmake the project:
cmake ../lldbmi2
- Build the project:
make
- Install lldbmi2:
make install
(may need sudo)