Module Name: src
Committed By: christos
Date: Fri Dec 2 19:25:19 UTC 2016
Modified Files:
src/lib/libexecinfo: unwind.h
Log Message:
Add unwind action type and constants
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libexecinfo/unwind.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libexecinfo/unwind.h
diff -u src/lib/libexecinfo/unwind.h:1.3 src/lib/libexecinfo/unwind.h:1.4
--- src/lib/libexecinfo/unwind.h:1.3 Wed Oct 22 12:30:21 2014
+++ src/lib/libexecinfo/unwind.h Fri Dec 2 14:25:19 2016
@@ -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