[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] debuging code generated with clang
From:       Chandler Carruth <chandlerc () google ! com>
Date:       2012-05-29 16:04:19
Message-ID: CAGCO0KieNa5yt-=92Hdf7xMiZ_jPKzsK05jnTX7pvNXvrOjBRg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

[Attachment #5 (text/html)]

<p>This should in general work. We&#39;d need more simple reproduction steps to help \
you further: for example, using gdb directly.</p> <p>Also, what OS, gdb version, \
etc.</p> <div class="gmail_quote">On May 29, 2012 3:02 AM, &quot;Dmitriy \
Tochansky&quot; &lt;<a href="mailto:tochansky@gmail.com">tochansky@gmail.com</a>&gt; \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Hello!<br>
I&#39;m trying to debug my project built with clang using gdb.<br>
When I start debuging in IDE(NetBeans) I see only asm code but not C source.<br>
I&#39;m using next commandline when build:<br>
clang -ggdb -O0 test.c -o test<br>
<br>
Can some one point me to doc or something?<br>
<br>
--<br>
Dmitriy<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br> \
</blockquote></div>



_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic