<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: monospace; ">Yeah, that's what I read.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">I downloaded and compiled LLDB and it works okay for what I'm doing (at least it's not going crazy with JIT-compiled functions). Looking forward having this in Xcode.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Félix</span><div><font class="Apple-style-span" face="monospace"><br></font></div><div><font class="Apple-style-span" face="monospace">(Sorry for the double mail, Reid. I still suck at clicking 'Reply to All'.)</font></div><div><font class="Apple-style-span" face="monospace"><br></font><div><div>Le 2010-07-06 à 23:28:01, Reid Kleckner a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'm assuming you're looking at this document?<br><a href="http://llvm.org/docs/DebuggingJITedCode.html">http://llvm.org/docs/DebuggingJITedCode.html</a><br><br>That document should probably be updated to say you need GDB 7.0 or<br>newer, since that's when the feature was released.  Most Linux<br>distributions have picked this up, so it should Just Work on Linux.<br><br>Apple's GDB is stale (6.3 + lots of patches).  They've stopped<br>updating the version of GDB they ship with XCode, and now they're<br>spending their time working on LLDB.<br><br>Reid<br><br>2010/7/4 Félix Cloutier <felixcca@yahoo.ca>:<br><blockquote type="cite">Hey guys,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'd need to debug just-in-time compiled code under Mac OS. As predicted, GDB doesn't cope really well with it. The LLVM manual seems to say it's possible to patch GDB under Linux, but there seems to be no option for Mac OS.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What can I do? I'd prefer a solution that integrates with Xcode, but I'll manage if it doesn't and I have to run the debugger externally.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It's not really related to this mailing list, but is LLDB doing a better job at handling just-in-time compiled code?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Félix<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">LLVM Developers mailing list<br></blockquote><blockquote type="cite">LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu<br></blockquote><blockquote type="cite">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></div></body></html>