diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 16:05:59 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 16:05:59 +0000 |
commit | 66c54865d1fbd76948430b24c72133061cb3f207 (patch) | |
tree | f7693849ed7e33ce06a9739b973eead1d7da75df /sal | |
parent | ae64b544f8839aca2cc9ff9a352ff90dc7b093ce (diff) |
INTEGRATION: CWS hro02 (1.6.64); FILE MERGED
2006/02/06 14:38:37 hro 1.6.64.1: #56946# Backtrace implementation on FreeBSD
Diffstat (limited to 'sal')
-rwxr-xr-x | sal/osl/unx/backtrace.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sal/osl/unx/backtrace.h b/sal/osl/unx/backtrace.h index f59c3a413d85..9662775255fb 100755 --- a/sal/osl/unx/backtrace.h +++ b/sal/osl/unx/backtrace.h @@ -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 |