Re: gdb call (NSRect)[nswindow frameRect...] crashes
Re: gdb call (NSRect)[nswindow frameRect...] crashes
- Subject: Re: gdb call (NSRect)[nswindow frameRect...] crashes
- From: Andrew Pinski <email@hidden>
- Date: Thu, 1 May 2003 16:18:39 -0400
functions/methods that return structs on PPC darwin are passed a secret
parameter for
where the struct is to be stored in memory, that is why you are having
problems.
Thanks,
Andrew Pinski
On Thursday, May 1, 2003, at 16:03 US/Eastern, Seth Delackner wrote:
What am I doing wrong?
(gdb) po $w
<NSWindow: 0x435bc20>
(gdb) p $s
$6 = 14
(gdb) call (NSRect)[$w frameRectForContentRect: (NSRect)sizes[0]
styleMask: $s]
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x9068bc04 in objc_msgSend_stret ()
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.