site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hello, We have some debugging utility routines we're porting from linux that call backtrace(void **bt, int mx). We were encouraged when we found extern unsigned OSBacktrace(void **bt, unsigned maxAddrs) in /usr/include/libkern/OSDebug.h, but it comes up as an undefined symbol when we compile (we're using icc on this project, BTW). There's no man page, grepping the libraries in /usr/lib yielded no clues, and Googling brought up the darwin source, but no examples.... what library do we need to link against to use OSBacktrace()? Thanks Jeffrey Johnson Macintosh Development Wavefunction, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jeffrey Johnson