using LLDB to debug GCC-code?


i am excited to try out the LLDB tool. heard about that before, but only now i want to spend more time using it with LLVM-3.4.

a question: is there any disadvantages using LLDB to debug GCC-generated code, compared with using Gdb to debug same code?

or is it still recommended to use Gdb to debug Gcc code (due to some particular reasons), and LLDB is more for LLVM code?

thanks so much,


Hi Jun,

It should not matter if you compiled your code with gcc or clang. You should be able use lldb to debug it.



It shouldn't matter. If you do run into any issues, please let us know by filing a bug!

Greg Clayton