gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep on FreeBSD and how to use the debugger


From: Gregory Casamento
Subject: Re: gnustep on FreeBSD and how to use the debugger
Date: Thu, 31 Aug 2017 21:22:37 -0400

I'm not sure that lldb works all that well with ObjC on non-darwin operating systems at this point.  I've tried it and had some similar problems.   Does FreeBSD still include the GCC toolchain at all as an option or not? (I know they now use clang as their main compiler... just wondering)

GC

On Thu, Aug 31, 2017 at 8:29 PM, David Wetzel <address@hidden> wrote:
Hi guys!

I just installed the -base package from ports and it seems to work so far. Thanks David C.!

I decided to give gsweb a try and tried debugging:

(lldb) up
frame #6: 0x0000000800c734c0 libWebObjects.so.1`_i_WOKeyValueAssociation__valueInComponent_ + 64
libWebObjects.so.1`_i_WOKeyValueAssociation__valueInComponent_:
    0x800c734c0 <+64>: movq   %rax, %r15
    0x800c734c3 <+67>: movq   0x268a06(%rip), %rax
    0x800c734ca <+74>: movq   (%rax), %rax
    0x800c734cd <+77>: movl   (%rax), %eax
(lldb) po keyPath
error: use of undeclared identifier 'keyPath'
(lldb) po self
error: use of undeclared identifier 'self'


it looks the same in things that are in -base.
How can I add debug info so that I see stuff in GSWeb and -base?

Thanks!

David



_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev



--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]