[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu
From: |
Eric Wasylishen |
Subject: |
Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10 |
Date: |
Sun, 6 Oct 2013 19:30:43 -0600 |
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 <address@hidden> wrote:
> On 4. 10. 2013., at 21:50, Eric Wasylishen <address@hidden> 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
> address@hidden - http://ivan.vucica.net/
>
- problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10, Eric Wasylishen, 2013/10/04
- Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10, Ivan Vučica, 2013/10/04
- Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10, Matt Rice, 2013/10/04
- Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10,
Eric Wasylishen <=
- Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10, David Chisnall, 2013/10/07
- Re: problems debugging with clang 3.2, gdb 7.6, libobjc2 SVN, and Ubuntu 13.10, Matt Rice, 2013/10/07