Hi,
"Paul R. Summermatter" wrote:
>
> I have two issues that I am trying to resolve now. Firstly, I have
> a .gdbinit which I use on mach. The commands all seem to work on NT, but I
> want the file loaded each time I launch gdb. Where do I need to put the file
> so that this happens automagically (~ and ~/Developer don't seem to work).
Try calling it gdb.ini. You can put that in your home directory.
>
> Secondly, how do I message objects which are referenced by a
> variable as in:
>
> (gdb) f 6
> (gdb) po $aButton = *(NSObject **)($fp+8)
> <NSPopUpButton 0x2114a>
> (gdb) po [$aButton target]
> A parse error in expression, near '$aButton target]'.
> (gdb)
>
> This syntax worked just fine with WOF 3.51. What has changed?
My guess is that the debugger does not know what language you are speaking (since
you turned off debugging symbols). Try set language objective-c.
dk
--
David Koski
Running Start, Inc.
[EMAIL PROTECTED]
http://www.running-start.com