<div dir="ltr">On 10 June 2013 16:34, Kevin <span dir="ltr"><<a href="mailto:xtrmk3v0r@googlemail.com" target="_blank">xtrmk3v0r@googlemail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I would like to know, if executables generated with clang++, can be debugged with gdb without any problems or if I have to use the LLDB debugger for this purpose. I just want to play around with some new C++11 features, compile the code for a 64 bit linux system (amd64) and debug the compiled code.<br>

</blockquote><div><br></div><div style>Clang produced binaries should be debuggable with GDB. All of clang, gcc and gdb support the same debugging format, DWARF from <a href="http://dwarfstd.org">dwarfstd.org</a>. Older GDBs may not work well with newer clangs.</div>

<div style><br></div><div style>There is one substantial known-issue, clang's debug info is extremely poor when optimizations are enabled. As for unoptimized debug info, if you find problems please file bugs.</div><div style>

<br></div><div style>Nick<br><br></div></div></div></div>