2015-07-04 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libjava / sysdep / generic / backtrace.h
blob21138aef775300a8cfed4d2584bdfce676eae911
1 // backtrace.h - Fallback backtrace implementation. default 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
9 details. */
11 #ifndef __SYSDEP_BACKTRACE_H__
12 #define __SYSDEP_BACKTRACE_H__
14 #include <java-stack.h>
16 /* Unwind through the call stack calling TRACE_FN with STATE for every stack
17 frame. Returns the reason why the unwinding was stopped. */
18 _Unwind_Reason_Code
19 fallback_backtrace (_Unwind_Trace_Fn, _Jv_UnwindState *)
21 return _URC_NO_REASON;
23 #endif