Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will there be lldb-mi? #99

Closed
InchChou opened this issue Apr 24, 2022 · 6 comments
Closed

Will there be lldb-mi? #99

InchChou opened this issue Apr 24, 2022 · 6 comments

Comments

@InchChou
Copy link

When I download the releases include with LLVM/Clang/LLD/LLDB, I can't find the lldb-mi.exe. While debug with VSCode under lldb, it is required. Do you have a plan to compile lldb-mi? Thanks.

@xtemp09
Copy link

xtemp09 commented Apr 29, 2022

LLDB does not work in this toolchain. I've just checked the latest version ― still not working.

@brechtsanders
Copy link
Owner

I know, it is related to Python not locating things correctly relative to the current executable.
I resolved this same issue in gdb by tweaking Python, but somehow the same tweak doesn't do the trick (yet) for lldb. I need some more time to look into this.

@brechtsanders
Copy link
Owner

brechtsanders commented May 1, 2022

The Python issue is solved now. #93

Apparently lldb-mi isn't built as part of the LLVM project.

Is https://github.com/lldb-tools/lldb-mi what I should try to build and include in future releases, or is there another place to get it?

@InchChou
Copy link
Author

InchChou commented May 5, 2022

The Python issue is solved now. #93

Apparently lldb-mi isn't built as part of the LLVM project.

Is https://github.com/lldb-tools/lldb-mi what I should try to build and include in future releases, or is there another place to get it?

Yes, it's exactly what we need to include.

I have added .zip files with first attempt to build lldb-mi to the latest release:

Can you unzip what you need in the same place you unzipped the main file and see if that fixes it for you?

I unzip it and put it together with GCC 11.3.0 + LLVM 14.0.3 + MinGW-w64 10.0.0 UCRT (release 3), it works fine.

Thanks for all your efforts.

@brechtsanders
Copy link
Owner

Great. I will include lldb-mi in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants