Thanks for the pointers… I reconfigured make without enabling the nonfragile ABI (just used "CC=clang ./configure --enable-debug-by-default"), rebuilt everything, and now stepping into Objective-C methods works with gdb, as does ivar printing.
So do gdb and lldb need some changes to support the nonfragile ABI? If that's the case, maybe we should display a warning when configuring make with --enable-nonfragile-abi, so people know that debugging will be broken. Eric On 2013-10-04, at 4:43 PM, Ivan Vučica <ivuc...@gmail.com> wrote: > On 4. 10. 2013., at 21:50, Eric Wasylishen <ewasylis...@gmail.com> wrote: > >> >> 2. Printing ivars is broken. gdb seems to print self->isa when you do >> "print someivar" or "print self->someivar". lldb-3.2 prints an error asking >> you to report a bug. >> >> I configured gnustep-make with --enable-debug-by-default >> --enable-objc-nonfragile-abi, gnustep-base with --disable-mixedabi. >> >> I talked to Alex S. on Étoilé IRC and he observed the same two problems on a >> similar setup as me; Quentin also mentioned the ivar printing problem to me. >> > > I've also had similar problem with printing Objective-C variables on Ubuntu > 12.04, and whatever-gdb-ships-with-12-04. I think my install has a post-3.2 > clang SVN, possibly post-3.3. I would suspect it's an incompatibility between > libobjc2 and gdb/lldb, though it would be strange if David didn't see it. > > -- > Ivan Vučica > i...@vucica.net - http://ivan.vucica.net/ > _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev