• 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: __builtin_frame_address()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __builtin_frame_address()


  • Subject: Re: __builtin_frame_address()
  • From: Steve Checkoway <email@hidden>
  • Date: Sat, 28 May 2005 12:39:19 -0700

On May 25, 2005, at 7:57 PM, Steve Checkoway wrote:

Is __builtin_frame_address() broken? I have some backtracing code that walks the stack essentially using:

By the lack of response here, I suspect that this might be the wrong list to ask. Can someone suggest a better one?


On a slightly related note, the first few values that frame->lr holds are in unrelated functions that are not on the stack at the time. This is new in gcc 4. Prior versions seemed to provide sane addresses. After the first few functions, the stack seems correct.

As a follow up to this, the addresses are correct, it was my address to symbol lookup that for some reason isn't working any more.


- Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >__builtin_frame_address() (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: can virtual memory be suppressed?
  • Next by Date: Re: __builtin_frame_address()
  • Previous by thread: __builtin_frame_address()
  • Next by thread: Re: __builtin_frame_address()
  • Index(es):
    • Date
    • Thread