I'm having a hard time with GDB and debugging threads on a OSX 10.7.4 with fpc/trunk<div><br></div><div>The shipped gdb worked great with the exception of threads calling methods via synchronize (so I can debug). </div>
<div><br></div><div>I'm in the process of building GDB from download and configure set gdb to x64 darwin. Configure detected correctly but my gdb 7.4.1 app fails to load with some ioctl error. I'm assuming fpc can't compile darwin x64 yet. </div>
<div><br></div><div>I tried # gdb ./configure --target=i386-apple-darwin but I think it needs i386 gcc compiler.</div><div><br></div><div>I downloaded gcc from subversion and tried to configure and it too configures make files to x64 darwin :-( </div>
<div><br></div><div>Has anyone got the latest GDB running on darwin? Any instructions or tips for getting gdb 7.4 working properly?</div>