diff options
| author | christos <christos@NetBSD.org> | 2016-12-02 19:25:19 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-12-02 19:25:19 +0000 |
| commit | 98a441b35c65992c7049722748af2399d98ca7a5 (patch) | |
| tree | 1f8bcefd50c6418606adc3df611f629872113727 /lib/libexecinfo | |
| parent | 4f081afb964c8f4c1f982c6327662e76dc6701a2 (diff) | |
Add unwind action type and constants
Diffstat (limited to 'lib/libexecinfo')
| -rw-r--r-- | lib/libexecinfo/unwind.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libexecinfo/unwind.h b/lib/libexecinfo/unwind.h index 96d76e38fa2..8ab3fd14d25 100644 --- a/lib/libexecinfo/unwind.h +++ b/lib/libexecinfo/unwind.h @@ -1,4 +1,4 @@ -/* $NetBSD: unwind.h,v 1.3 2014/10/22 16:30:21 christos Exp $ */ +/* $NetBSD: unwind.h,v 1.4 2016/12/02 19:25:19 christos Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -34,9 +34,16 @@ __BEGIN_DECLS struct _Unwind_Context; struct _Unwind_Exception; typedef int _Unwind_Reason_Code; +typedef int _Unwind_Action; typedef void *_Unwind_Ptr; typedef long _Unwind_Word; +#define _UA_SEARCH_PHASE 0x01 +#define _UA_CLEANUP_PHASE 0x02 +#define _UA_HANDLER_FRAME 0x04 +#define _UA_FORCE_UNWIND 0x08 +#define _UA_END_OF_STACK 0x10 + #define _URC_NO_REASON 0 #define _URC_FOREIGN_EXCEPTION_CAUGHT 1 #define _URC_FATAL_PHASE2_ERROR 2 |
