osprey/include/sys/ia64/unwind.h File Reference

#include <sys/ia64/unwind_ia64.h>

Include dependency graph for unwind.h:

Go to the source code of this file.

Data Types

type  unw_sigaltstack
type  sigcontext
type  _Unwind_Context
type  _Unwind_Exception

Defines

#define VERSION_NUMBER   1
#define __UNW_STRUCT_FPREG   long double
#define _UA_SEARCH_PHASE   1
#define _UA_CLEANUP_PHASE   2
#define _UA_HANDLER_FRAME   4
#define _UA_FORCE_UNWIND   8

Typedefs

typedef struct unw_sigaltstack unw_stack_t
typedef struct _Unwind_Context unw_sigcontext_t
typedef int _Unwind_Action
typedef void(* _Unwind_Exception_Cleanup_Fn )(_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
typedef _Unwind_Reason_Code(* __personality_routine )(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)
typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn )(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context, void *stop_parameter)

Enumerations

enum  _Unwind_Reason_Code {
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_CONTINUE_UNWIND = 8, _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2,
  _URC_FATAL_PHASE1_ERROR = 3, _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6,
  _URC_INSTALL_CONTEXT = 7, _URC_CONTINUE_UNWIND = 8, _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
  _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3, _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5,
  _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7, _URC_CONTINUE_UNWIND = 8, _URC_OK = 0,
  _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_CONTINUE_UNWIND = 8, _URC_FAILURE = 9, _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
  _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3, _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5,
  _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7, _URC_CONTINUE_UNWIND = 8
}

Functions/Subroutines

_Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *exception_object)
_Unwind_Reason_Code _Unwind_ForceUnwind (struct _Unwind_Exception *exception_object, _Unwind_Stop_Fn stop, void *stop_parameter)
void _Unwind_Resume (struct _Unwind_Exception *exception_object)
void _Unwind_DeleteException (struct _Unwind_Exception *exception_object)
uint64_t _Unwind_GetGR (struct _Unwind_Context *context, int index)
void _Unwind_SetGR (struct _Unwind_Context *context, int index, uint64_t new_value)
uint64_t _Unwind_GetIP (struct _Unwind_Context *context)
void _Unwind_SetIP (struct _Unwind_Context *context, uint64_t new_value)
uint64_t _Unwind_GetLanguageSpecificData (struct _Unwind_Context *context)
uint64_t _Unwind_GetRegionStart (struct _Unwind_Context *context)
int __cxa_personality_routine (int version, int phase, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)
__unw_error_t unwind_init (void)
__unw_error_t unwind_fini (void)
__unw_error_t unwind_frame (unw_sigcontext_t *scp)
void unwind_debugger_init (int(*dbg_unwind_table_addr_arg)(uint64_t, uint64_t *, uint64_t *), int(*dbg_unwind_info_addr_arg)(uint64_t, uint64_t *, uint64_t *), int(*dbg_unwind_info_target_addr_arg)(uint64_t, uint64_t *), int(*dbg_text_segment_target_addr_arg)(uint64_t, uint64_t *), int(*dbg_restore_gp_arg)(uint64_t, uint64_t *), int(*dbg_addr_read_arg)(uint64_t, uint64_t, void *))
int trace_back_stack (int num, uint64_t *ips, const char **names, int ips_sz, int names_sz)


Define Documentation

#define __UNW_STRUCT_FPREG   long double

Definition at line 61 of file unwind.h.

#define _UA_CLEANUP_PHASE   2

Definition at line 197 of file unwind.h.

#define _UA_FORCE_UNWIND   8

Definition at line 199 of file unwind.h.

#define _UA_HANDLER_FRAME   4

Definition at line 198 of file unwind.h.

#define _UA_SEARCH_PHASE   1

Definition at line 196 of file unwind.h.

#define VERSION_NUMBER   1

Definition at line 48 of file unwind.h.


Typedef Documentation

typedef _Unwind_Reason_Code(* __personality_routine)(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)

Definition at line 221 of file unwind.h.

typedef int _Unwind_Action

Definition at line 194 of file unwind.h.

Definition at line 210 of file unwind.h.

typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn)(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context, void *stop_parameter)

Definition at line 228 of file unwind.h.

Definition at line 115 of file unwind.h.


Enumeration Type Documentation

Enumerator:
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 
_URC_OK 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 
_URC_FAILURE 
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 

Definition at line 122 of file unwind.h.


Function Documentation

int __cxa_personality_routine ( int  version,
int  phase,
uint64_t  exceptionClass,
struct _Unwind_Exception exceptionObject,
struct _Unwind_Context context 
)

void _Unwind_DeleteException ( struct _Unwind_Exception exception_object  ) 

Definition at line 2168 of file consumer.c.

_Unwind_Reason_Code _Unwind_ForceUnwind ( struct _Unwind_Exception exception_object,
_Unwind_Stop_Fn  stop,
void stop_parameter 
)

Definition at line 2118 of file consumer.c.

uint64_t _Unwind_GetGR ( struct _Unwind_Context context,
int  index 
) [inline]

Definition at line 1587 of file unwind-ia64.c.

uint64_t _Unwind_GetIP ( struct _Unwind_Context context  )  [inline]

Definition at line 1620 of file unwind-ia64.c.

uint64_t _Unwind_GetLanguageSpecificData ( struct _Unwind_Context context  ) 

Definition at line 1634 of file unwind-ia64.c.

uint64_t _Unwind_GetRegionStart ( struct _Unwind_Context context  ) 

Definition at line 1640 of file unwind-ia64.c.

_Unwind_Reason_Code _Unwind_RaiseException ( struct _Unwind_Exception exception_object  ) 

Definition at line 2089 of file consumer.c.

void _Unwind_Resume ( struct _Unwind_Exception exception_object  ) 

Definition at line 2155 of file consumer.c.

void _Unwind_SetGR ( struct _Unwind_Context context,
int  index,
uint64_t  new_value 
)

Definition at line 2187 of file consumer.c.

void _Unwind_SetIP ( struct _Unwind_Context context,
uint64_t  new_value 
)

Definition at line 2216 of file consumer.c.

int trace_back_stack ( int  num,
uint64_t ips,
const char **  names,
int  ips_sz,
int  names_sz 
)

void unwind_debugger_init ( int(*)(uint64_t, uint64_t *, uint64_t *)  dbg_unwind_table_addr_arg,
int(*)(uint64_t, uint64_t *, uint64_t *)  dbg_unwind_info_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_unwind_info_target_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_text_segment_target_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_restore_gp_arg,
int(*)(uint64_t, uint64_t, void *)  dbg_addr_read_arg 
)

Definition at line 132 of file consumer.c.

__unw_error_t unwind_fini ( void   ) 

Definition at line 807 of file consumer.c.

__unw_error_t unwind_frame ( unw_sigcontext_t scp  ) 

Definition at line 848 of file consumer.c.

__unw_error_t unwind_init ( void   ) 

Definition at line 732 of file consumer.c.


Generated on Wed Apr 8 15:07:52 2009 for Open64 by  doxygen 1.5.6