OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [sysdep/] [arm/] [backtrace.h] - Blame information for rev 764

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 764 jeremybenn
// backtrace.h - Fallback backtrace implementation. ARM implementation.
2
 
3
/* Copyright (C) 2005, 2006  Free Software Foundation
4
 
5
   This file is part of libgcj.
6
 
7
This software is copyrighted work licensed under the terms of the
8
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9
details.  */
10
 
11
#ifndef __SYSDEP_BACKTRACE_H__
12
#define __SYSDEP_BACKTRACE_H__
13
 
14
#include <java-stack.h>
15
 
16
extern "C"
17
{
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__
21
 
22
#define _Unwind_FindEnclosingFunction(PC) \
23
  (PC)
24
 
25
_Unwind_Reason_Code
26
fallback_backtrace (_Unwind_Reason_Code (*)(struct _Unwind_Context*, void*), _Jv_UnwindState *)
27
#else
28
_Unwind_Reason_Code
29
fallback_backtrace (_Unwind_Trace_Fn, _Jv_UnwindState *)
30
#endif
31
{
32
  return _URC_NO_REASON;
33
}
34
}
35
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.