Make unwind.h installable.
This commit is contained in:
parent
496a0216ed
commit
98d839c6b3
|
@ -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+=unwind_arm_ehabi_stub.c
|
|||
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
|
||||
|
|
|
@ -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 int _Unwind_Reason_Code;
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue