1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-18 07:41:44 +02:00

Add multi-architecture support: include libunwind-common.h instead

of having a libunwind.h include the target-specific header.

(Logical change 1.12)
This commit is contained in:
hp.com!davidm 2002-04-05 23:37:55 +00:00
parent 4830286a5c
commit 1f3b87ad50

View file

@ -26,8 +26,14 @@ This exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public
License. */
#ifndef LIBUNWIND_H
#define LIBUNWIND_H
#include <stdint.h>
#include <ucontext.h>
#define UNW_TARGET ia64
typedef uint64_t unw_tdep_word_t;
typedef enum
@ -122,3 +128,7 @@ typedef ucontext_t unw_tdep_context_t;
#define unw_tdep_getcontext(uc) getcontext(uc)
#define unw_tdep_is_fpreg(r) ((unsigned) ((r) - UNW_IA64_FR) < 128)
#include "libunwind-common.h"
#endif /* LIBUNWIND_H */