<div dir="ltr">Hi Tobias,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 12:23 PM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<span class=""><br>
On 07.04.2015, at 21:00, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt;<br>
&gt;     I&#39;m still building VMs with gcc and xcode 3.2 on 10.6.8.  We&#39;re copying executables to Clément&#39;s 10.8 system; I *think* these executables contain full debug info.  We&#39;re not seeing debug info under gdb on that system.  Neither are we seeing debug info when we also copy the 10.6.8 gdb to 10.8.  Anyone know why?  Some questions...<br>
&gt;<br>
&gt; - is debug info kept off to the side and hence requires that one copy additional files?  If so, what&#39;s the file?<br>
<br>
</span>It depends™.<br>
There could be a .dSYM folder that should contain debug symbol information<br>
that can be used to instruct gdb or lldb to load infos from,<br>
(se, eg <a href="http://stackoverflow.com/questions/3656391/whats-the-dsym-and-how-to-use-it-ios-sdk" target="_blank">http://stackoverflow.com/questions/3656391/whats-the-dsym-and-how-to-use-it-ios-sdk</a><br>
or<br>
        dwarfdump(1)<br>
        dsymutil(1)<br>
        atos(1)<br>
        <a href="http://web.archive.org/web/20081224174716/http:/developer.apple.com/tools/xcode/symbolizingcrashdumps.html" target="_blank">http://web.archive.org/web/20081224174716/http:/developer.apple.com/tools/xcode/symbolizingcrashdumps.html</a><br>
<br>
probably<br>
<br>
        <a href="https://github.com/nikyoudale/symbolicatecrash-mac" target="_blank">https://github.com/nikyoudale/symbolicatecrash-mac</a><br>
        <a href="http://mindarray.org/techlog/gdb-debugging.html" target="_blank">http://mindarray.org/techlog/gdb-debugging.html</a>  step 6<br>
<br>
and even more for LLDB:<br>
        <a href="http://lldb.llvm.org/symbols.html" target="_blank">http://lldb.llvm.org/symbols.html</a><br>
<span class=""><br>By default I&#39;m building with dwarf (the default debug type) which uses DWARF debugging info and puts in in the executable.  On 10.8 gdb does not see this debug info.  So I tried dwarf-with-dsym which puts the info in its own package hierarchy.  That isn;t debuggable on 10.8 either :(.  But I guess what&#39;s good about this form is that the debug info is manually strippable by anyone that wants to deploy the .app.  So I might keep it, even though it made no difference.<br></span></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
&gt;<br>
&gt; - is there symbol table reading support that is version-dependent?  i.e. do we have to install additional support executables for gdb to read the info from gcc 4.2?<br>
&gt;<br>
&gt; And yes, I know I should upgrade and will do asap.  For now everything works in my 10.6 environment.<br>
<br>
</span>Note that 10.6. is the last system you could reliably build ppc stuff on…<br>
We should keep a build-slave at this version handy if we can…<br></blockquote><div><br></div><div>Good point.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888">        -Tobias</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>