Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

roman-rybalko/lldb-mi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lldb-mi

LLDB's machine interface driver.

Remote debugging patches for Eclipse.

Eclipse

Set lldb-mi executable to /path/to/lldb-mi/scripts/lldb-mi-android.sh. Target app selection is made in lldb-mi-android.sh. Target connection is configured in .lldbinit-android (referenced in lldb-mi-android.sh). Copy /path/to/android-prebuilts-clang/clang-r536225/runtimes_ndk_cxx/aarch64/lldb-server to target:/vendor/bin/.

Build

cd ~/src
[ -e lldb-mi ] || git clone https://github.com/roman-rybalko/lldb-mi
[ -e android-prebuilts-clang ] || git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86 android-prebuilts-clang
git -C android-prebuilts-clang reset --hard 83f45ec8e6a3ed11aa54955f8e56420462f55131
./lldb-mi/scripts/clang-fix.sh
./lldb-mi/scripts/build.sh

Notes

On some architectures (e.g. Linux, x86-64), LLDB dynamic library fails to determine its location. That results in the inability to locate a gdbserver stub:

process launch failed: unable to locate lldb-server

The workaround is to set LLDB_DEBUGSERVER_PATH environment variable before running lldb-mi.

About

LLDB's machine interface driver (gdb)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.2%
  • Other 0.8%