INTEGRATION: CWS hro02 (1.6.64); FILE MERGED
2006/02/06 14:38:37 hro 1.6.64.1: #56946# Backtrace implementation on FreeBSD
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
*
|
||||
* $RCSfile: backtrace.h,v $
|
||||
*
|
||||
* $Revision: 1.6 $
|
||||
* $Revision: 1.7 $
|
||||
*
|
||||
* last change: $Author: rt $ $Date: 2005-09-08 14:52:59 $
|
||||
* last change: $Author: rt $ $Date: 2006-02-09 17:05:59 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
@@ -46,6 +46,17 @@ int backtrace( void **buffer, int max_frames );
|
||||
|
||||
void backtrace_symbols_fd( void **buffer, int size, int fd );
|
||||
|
||||
/* no frame.h on FreeBSD */
|
||||
#if defined FREEBSD
|
||||
struct frame {
|
||||
long arg0[8];
|
||||
long arg1[6];
|
||||
struct frame *fr_savfp;
|
||||
long fr_savpc;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user