[cfe-dev] debuging code generated with clang

Chandler Carruth chandlerc at google.com
Tue May 29 09:04:19 PDT 2012


This should in general work. We'd need more simple reproduction steps to
help you further: for example, using gdb directly.

Also, what OS, gdb version, etc.
On May 29, 2012 3:02 AM, "Dmitriy Tochansky" <tochansky at gmail.com> wrote:

> Hello!
> I'm trying to debug my project built with clang using gdb.
> When I start debuging in IDE(NetBeans) I see only asm code but not C
> source.
> I'm using next commandline when build:
> clang -ggdb -O0 test.c -o test
>
> Can some one point me to doc or something?
>
> --
> Dmitriy
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120529/4cdb9133/attachment.html>


More information about the cfe-dev mailing list