[LLVMdev] Debug just-in-time compiled code on Mac OS

Reid Kleckner reid.kleckner at gmail.com
Tue Jul 6 20:28:01 PDT 2010

I'm assuming you're looking at this document?

That document should probably be updated to say you need GDB 7.0 or
newer, since that's when the feature was released.  Most Linux
distributions have picked this up, so it should Just Work on Linux.

Apple's GDB is stale (6.3 + lots of patches).  They've stopped
updating the version of GDB they ship with XCode, and now they're
spending their time working on LLDB.


2010/7/4 Félix Cloutier <felixcca at yahoo.ca>:
> Hey guys,
> 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.
> 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.
> It's not really related to this mailing list, but is LLDB doing a better job at handling just-in-time compiled code?
> Félix
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list