[lldb-dev] [LLVMdev] Debug just-in-time compiled code on Mac OS
Curtis Faith
curtis_faith at yahoo.com
Tue Jul 6 20:49:52 PDT 2010
I am so so happy that LLDB is coming along.
I've only been seriously using Xcode with GDB for three or four months now, but man what a POS compared with the stuff I'm used to. I really really hated programming on Windows but VS's debugger was miles ahead of the GDB/Xcode combo. I'm sure everyone at Apple is thrilled to be getting a new debugger, as they've been using GDB much more than I have, and it must really hurt to have Microsoft busting your balls on technology. I mean, come on, Microsoft couldn't punch their way out of a paper bag when it come to inventing cool technology.
LLVM and now LLDB, however, very cool stuff. As an old-time Mac developer from back in the days when object-oriented meant MacApp, it brings tears to my eyes.
- Curtis
On Jul 6, 2010, at 11:28 PM, Reid Kleckner wrote:
> I'm assuming you're looking at this document?
> http://llvm.org/docs/DebuggingJITedCode.html
>
> 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.
>
> Reid
>
> 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
>>
>
> _______________________________________________
> 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 lldb-dev
mailing list