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

Re: backtrace() alternative?


  • Subject: Re: backtrace() alternative?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 10 Oct 2007 19:32:26 +0200


Le 10 oct. 07 à 19:15, Finlay Dobbie a écrit :



On 10/10/2007, George Warner <email@hidden> wrote:
> On Mon, 8 Oct 2007 19:27:43 -0700, Rene Limberger <email@hidden > wrote:
>
> > I am trying to port a linux program to OSX. As part of the OS-
> > specific portion of this porting, i noticed that OSX (BSD) does not
> > support backtrace and has no execinfo.h .
>
> See MoreIsBetter:MoreBackTrace:
> @<http://developer.apple.com/samplecode/MoreIsBetter/listing83.html>


Does this work on Intel? I thought there were still outstanding issues... :o)

-- Finlay


If you realy want a MoreBacktrace that works on Intel, you can find one in the BOINC sources history.

boinc.berkeley.edu/trac/browser/trunk/boinc/lib/MoreBacktrace.c? rev=12151

This file is far more up to date than the one provided by MoreIsBetter sample code.

Revision 1.6  2006/01/23 18:32:52  eskimo1
Correct uninitialised variable pointed out by the compiler.

Revision 1.5 2006/01/23 00:59:36 eskimo1
Added lots of comments describing the stack structure for each architecture. Also filled in one of the blank with regards stack offsets on older systems.


Revision 1.4  2006/01/22 22:46:46  eskimo1
Complete rewrite to account for architecture independence.


It supports PPC and X86, but not 64 bits processors. For 64 bits processors support, you can check the current BOINC implementation.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >re: backtrace() alternative? (From: George Warner <email@hidden>)
 >Re: backtrace() alternative? (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: Re: backtrace() alternative?
  • Next by Date: Re: Timing puzzle (was Release Build Fails)
  • Previous by thread: Re: backtrace() alternative?
  • Next by thread: .mom file
  • Index(es):
    • Date
    • Thread