Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libexecinfo Add unwind action type and constants
details: https://anonhg.NetBSD.org/src/rev/75aad31a07e6
branches: trunk
changeset: 349262:75aad31a07e6
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 02 19:25:19 2016 +0000
description:
Add unwind action type and constants
diffstat:
lib/libexecinfo/unwind.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r d493181238f5 -r 75aad31a07e6 lib/libexecinfo/unwind.h
--- a/lib/libexecinfo/unwind.h Fri Dec 02 17:54:35 2016 +0000
+++ b/lib/libexecinfo/unwind.h Fri Dec 02 19:25:19 2016 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index