• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gdb call (NSRect)[nswindow frameRect...] crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >gdb call (NSRect)[nswindow frameRect...] crashes (From: Seth Delackner <email@hidden>)

  • Prev by Date: Drag from view with nested view content
  • Next by Date: Re: book recommendations
  • Previous by thread: gdb call (NSRect)[nswindow frameRect...] crashes
  • Next by thread: Drag from view with nested view content
  • Index(es):
    • Date
    • Thread