[LLVMdev] eclipse and gdb

Mishne, Alon alon.mishne at intel.com
Tue Jul 16 05:10:54 PDT 2013


I'm using Eclipse with gdb to develop and debug llvm.

You need to use the "Eclipse IDE for C/C++ Developers<http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplerr>" version for that (also sometimes called "Eclipse CDT" - CDT is the C++ component), though you can also download any other Eclipse version and just install CDT on top of it. As for versions, it's best to use the most recent version you can find. Should work fine on all Linux distros, though some advanced features require a minimum gdb version.

As for creating the Eclipse project, think the simplest approach is to configure as usual, then create a "makefile project" in Eclipse and tell it to use the existing makefiles created under OBJ_ROOT - don't let Eclipse manage your makefiles.


-          Alon
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130716/b24fe3a8/attachment.html>


More information about the llvm-dev mailing list