1 // backtrace.h - Fallback backtrace implementation. ARM implementation.
3 /* Copyright (C) 2005, 2006 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
11 #ifndef __SYSDEP_BACKTRACE_H__
12 #define __SYSDEP_BACKTRACE_H__
14 #include <java-stack.h>
18 /* Unwind through the call stack calling TRACE_FN with STATE for every stack
19 frame. Returns the reason why the unwinding was stopped. */
20 #ifdef __ARM_EABI_UNWINDER__
22 #define _Unwind_FindEnclosingFunction(PC) \
26 fallback_backtrace (_Unwind_Reason_Code (*)(struct _Unwind_Context
*, void*), _Jv_UnwindState
*)
29 fallback_backtrace (_Unwind_Trace_Fn
, _Jv_UnwindState
*)
32 return _URC_NO_REASON
;