Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libexecinfo Make unwind.h installable.
details: https://anonhg.NetBSD.org/src/rev/b03a152ca064
branches: trunk
changeset: 333181:b03a152ca064
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 22 16:30:21 2014 +0000
description:
Make unwind.h installable.
diffstat:
lib/libexecinfo/Makefile | 4 +++-
lib/libexecinfo/unwind.h | 14 +++++++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r a4c22e7ef058 -r b03a152ca064 lib/libexecinfo/Makefile
--- a/lib/libexecinfo/Makefile Wed Oct 22 16:29:47 2014 +0000
+++ b/lib/libexecinfo/Makefile Wed Oct 22 16:30:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/03/09 21:37:37 christos Exp $
+# $NetBSD: Makefile,v 1.6 2014/10/22 16:30:21 christos Exp $
.include <bsd.own.mk>
@@ -27,6 +27,8 @@
SRCS+=builtin.c
.endif
+INCS=unwind.h
+
MLINKS+= backtrace.3 backtrace_symbols.3
MLINKS+= backtrace.3 backtrace_symbols_fmt.3
MLINKS+= backtrace.3 backtrace_symbols_fd.3
diff -r a4c22e7ef058 -r b03a152ca064 lib/libexecinfo/unwind.h
--- a/lib/libexecinfo/unwind.h Wed Oct 22 16:29:47 2014 +0000
+++ b/lib/libexecinfo/unwind.h Wed Oct 22 16:30:21 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unwind.h,v 1.2 2014/03/24 21:26:01 joerg Exp $ */
+/* $NetBSD: unwind.h,v 1.3 2014/10/22 16:30:21 christos Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -28,6 +28,8 @@
#ifndef _UNWIND_H_
#define _UNWIND_H_
+#include <sys/cdefs.h>
+
__BEGIN_DECLS
struct _Unwind_Context;
struct _Unwind_Exception;
@@ -35,6 +37,16 @@
typedef void *_Unwind_Ptr;
typedef long _Unwind_Word;
+#define _URC_NO_REASON 0
+#define _URC_FOREIGN_EXCEPTION_CAUGHT 1
+#define _URC_FATAL_PHASE2_ERROR 2
+#define _URC_FATAL_PHASE1_ERROR 3
+#define _URC_NORMAL_STOP 4
+#define _URC_END_OF_STACK 5
+#define _URC_HANDLER_FOUND 6
+#define _URC_INSTALL_CONTEXT 7
+#define _URC_CONTINUE_UNWIND 8
+
typedef _Unwind_Reason_Code
(*_Unwind_Trace_Fn)(struct _Unwind_Context *, void *);
#ifdef notyet
Home |
Main Index |
Thread Index |
Old Index