2002-12-19 08:16:50 +01:00
|
|
|
/* libunwind - a platform-independent unwind library
|
2003-01-21 18:41:20 +01:00
|
|
|
Copyright (C) 2001-2003 Hewlett-Packard Co
|
2002-12-19 08:16:50 +01:00
|
|
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
|
|
|
|
|
|
|
This file is part of libunwind.
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
a copy of this software and associated documentation files (the
|
|
|
|
"Software"), to deal in the Software without restriction, including
|
|
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be
|
|
|
|
included in all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
|
|
|
|
|
|
#ifndef TDEP_IA64_H
|
|
|
|
#define TDEP_IA64_H
|
|
|
|
|
|
|
|
/* Target-dependent definitions that are internal to libunwind but need
|
|
|
|
to be shared with target-independent code. */
|
|
|
|
|
|
|
|
#include <libunwind.h>
|
|
|
|
|
2003-02-08 11:10:59 +01:00
|
|
|
#include "elf64.h"
|
2002-12-19 08:16:50 +01:00
|
|
|
#include "mempool.h"
|
|
|
|
|
|
|
|
enum ia64_pregnum
|
|
|
|
{
|
|
|
|
/* primary unat: */
|
|
|
|
IA64_REG_PRI_UNAT_GR,
|
|
|
|
IA64_REG_PRI_UNAT_MEM,
|
|
|
|
|
2003-02-27 10:58:57 +01:00
|
|
|
/* memory stack (order matters: see build_script() */
|
|
|
|
IA64_REG_PSP, /* previous memory stack pointer */
|
2002-12-19 08:16:50 +01:00
|
|
|
/* register stack */
|
|
|
|
IA64_REG_BSP, /* register stack pointer */
|
|
|
|
IA64_REG_BSPSTORE,
|
|
|
|
IA64_REG_PFS, /* previous function state */
|
|
|
|
IA64_REG_RNAT,
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
/* instruction pointer: */
|
|
|
|
IA64_REG_IP,
|
2002-12-19 08:16:50 +01:00
|
|
|
|
|
|
|
/* preserved registers: */
|
|
|
|
IA64_REG_R4, IA64_REG_R5, IA64_REG_R6, IA64_REG_R7,
|
|
|
|
IA64_REG_NAT4, IA64_REG_NAT5, IA64_REG_NAT6, IA64_REG_NAT7,
|
|
|
|
IA64_REG_UNAT, IA64_REG_PR, IA64_REG_LC, IA64_REG_FPSR,
|
|
|
|
IA64_REG_B1, IA64_REG_B2, IA64_REG_B3, IA64_REG_B4, IA64_REG_B5,
|
|
|
|
IA64_REG_F2, IA64_REG_F3, IA64_REG_F4, IA64_REG_F5,
|
|
|
|
IA64_REG_F16, IA64_REG_F17, IA64_REG_F18, IA64_REG_F19,
|
|
|
|
IA64_REG_F20, IA64_REG_F21, IA64_REG_F22, IA64_REG_F23,
|
|
|
|
IA64_REG_F24, IA64_REG_F25, IA64_REG_F26, IA64_REG_F27,
|
|
|
|
IA64_REG_F28, IA64_REG_F29, IA64_REG_F30, IA64_REG_F31,
|
|
|
|
IA64_NUM_PREGS
|
|
|
|
};
|
|
|
|
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
#ifdef UNW_LOCAL_ONLY
|
|
|
|
|
|
|
|
typedef unw_word_t ia64_loc_t;
|
|
|
|
|
|
|
|
#else /* !UNW_LOCAL_ONLY */
|
|
|
|
|
|
|
|
typedef struct ia64_loc
|
|
|
|
{
|
|
|
|
unw_word_t w0, w1;
|
|
|
|
}
|
|
|
|
ia64_loc_t;
|
|
|
|
|
|
|
|
#endif /* !UNW_LOCAL_ONLY */
|
|
|
|
|
2002-12-19 08:16:50 +01:00
|
|
|
#include "ia64/script.h"
|
|
|
|
|
2003-04-24 22:45:07 +02:00
|
|
|
#define ABI_UNKNOWN 0
|
|
|
|
#define ABI_LINUX 1
|
|
|
|
#define ABI_HPUX 2
|
|
|
|
#define ABI_FREEBSD 3
|
|
|
|
#define ABI_OPENVMS 4
|
|
|
|
#define ABI_NSK 5 /* Tandem/HP Non-Stop Kernel */
|
|
|
|
#define ABI_WINDOWS 6
|
|
|
|
|
2002-12-19 08:16:50 +01:00
|
|
|
struct unw_addr_space
|
|
|
|
{
|
|
|
|
struct unw_accessors acc;
|
|
|
|
int big_endian;
|
2003-04-24 22:45:07 +02:00
|
|
|
int abi; /* abi < 0 => unknown, 0 => SysV, 1 => HP-UX, 2 => Windows */
|
2002-12-19 08:16:50 +01:00
|
|
|
unw_caching_policy_t caching_policy;
|
2003-11-24 22:37:22 +01:00
|
|
|
#ifdef HAVE_ATOMIC_OPS_H
|
|
|
|
AO_T cache_generation;
|
|
|
|
#else
|
2002-12-19 08:16:50 +01:00
|
|
|
uint32_t cache_generation;
|
2003-11-24 22:37:22 +01:00
|
|
|
#endif
|
2003-03-11 02:11:18 +01:00
|
|
|
unw_word_t dyn_generation; /* see dyn-common.h */
|
|
|
|
unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
|
2002-12-19 08:16:50 +01:00
|
|
|
|
|
|
|
struct ia64_script_cache global_cache;
|
|
|
|
};
|
|
|
|
|
2003-04-24 22:45:07 +02:00
|
|
|
/* Note: The ABI numbers in the ABI-markers (.unwabi directive) are
|
2003-07-09 00:29:34 +02:00
|
|
|
not the same as the above ABI numbers. */
|
|
|
|
#define ABI_MARKER_OLD_LINUX_SIGTRAMP ((0 << 8) | 's')
|
|
|
|
#define ABI_MARKER_OLD_LINUX_INTERRUPT ((0 << 8) | 'i')
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
#define ABI_MARKER_HP_UX_SIGTRAMP ((1 << 8) | 1)
|
2003-07-09 00:29:34 +02:00
|
|
|
#define ABI_MARKER_LINUX_SIGTRAMP ((3 << 8) | 's')
|
|
|
|
#define ABI_MARKER_LINUX_INTERRUPT ((3 << 8) | 'i')
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
|
2002-12-19 08:16:50 +01:00
|
|
|
struct cursor
|
|
|
|
{
|
|
|
|
void *as_arg; /* argument to address-space callbacks */
|
|
|
|
unw_addr_space_t as; /* reference to per-address-space info */
|
|
|
|
|
2003-01-23 19:47:51 +01:00
|
|
|
/* IP, CFM, and predicate cache (these are always equal to the
|
|
|
|
values stored in ip_loc, cfm_loc, and pr_loc,
|
|
|
|
respectively). */
|
2002-12-19 08:16:50 +01:00
|
|
|
unw_word_t ip; /* instruction pointer value */
|
2003-01-23 19:47:51 +01:00
|
|
|
unw_word_t cfm; /* current frame mask */
|
2002-12-19 08:16:50 +01:00
|
|
|
unw_word_t pr; /* current predicate values */
|
|
|
|
|
|
|
|
/* current frame info: */
|
|
|
|
unw_word_t bsp; /* backing store pointer value */
|
|
|
|
unw_word_t sp; /* stack pointer value */
|
|
|
|
unw_word_t psp; /* previous sp value */
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
ia64_loc_t cfm_loc; /* cfm save location (or NULL) */
|
|
|
|
ia64_loc_t loc[IA64_NUM_PREGS];
|
2002-12-19 08:16:50 +01:00
|
|
|
|
|
|
|
unw_word_t eh_args[4]; /* exception handler arguments */
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
unw_word_t sigcontext_addr; /* address of sigcontext or 0 */
|
2003-01-21 18:41:20 +01:00
|
|
|
unw_word_t sigcontext_off; /* sigcontext-offset relative to signal sp */
|
|
|
|
|
2002-12-19 08:16:50 +01:00
|
|
|
short hint;
|
|
|
|
short prev_script;
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
|
2003-04-25 09:44:23 +02:00
|
|
|
uint16_t abi_marker; /* abi_marker for current frame (if any) */
|
|
|
|
uint16_t last_abi_marker; /* last abi_marker encountered so far */
|
2003-02-08 11:10:59 +01:00
|
|
|
uint8_t eh_valid_mask;
|
2002-12-19 08:16:50 +01:00
|
|
|
|
2003-11-27 07:52:54 +01:00
|
|
|
unsigned int pi_valid :1; /* is proc_info valid? */
|
|
|
|
unsigned int pi_is_dynamic :1; /* proc_info found via dynamic proc info? */
|
2002-12-19 08:16:50 +01:00
|
|
|
unw_proc_info_t pi; /* info about current procedure */
|
2003-01-21 18:41:20 +01:00
|
|
|
|
|
|
|
/* In case of stack-discontiguities, such as those introduced by
|
|
|
|
signal-delivery on an alternate signal-stack (see
|
|
|
|
sigaltstack(2)), we use the following data-structure to keep
|
|
|
|
track of the register-backing-store areas across on which the
|
|
|
|
current frame may be backed up. Since there are at most 96
|
|
|
|
stacked registers and since we only have to track the current
|
2003-01-23 11:04:09 +01:00
|
|
|
frame and only areas that are not empty, this puts an upper
|
|
|
|
limit on the # of backing-store areas we have to track. */
|
2003-02-08 11:10:59 +01:00
|
|
|
uint8_t rbs_curr; /* index of curr. rbs-area (contains c->bsp) */
|
2003-01-23 11:04:09 +01:00
|
|
|
uint8_t rbs_left_edge; /* index of inner-most valid rbs-area */
|
2003-01-21 18:41:20 +01:00
|
|
|
struct rbs_area
|
|
|
|
{
|
|
|
|
unw_word_t end;
|
|
|
|
unw_word_t size;
|
(ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.
(Logical change 1.84)
2003-04-23 07:56:59 +02:00
|
|
|
ia64_loc_t rnat_loc;
|
2003-01-21 18:41:20 +01:00
|
|
|
}
|
2003-01-23 11:04:09 +01:00
|
|
|
rbs_area[96 + 2]; /* 96 stacked regs + 1 extra stack on each side... */
|
2002-12-19 08:16:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
struct ia64_global_unwind_state
|
|
|
|
{
|
2003-11-19 04:11:25 +01:00
|
|
|
pthread_mutex_t lock; /* global data lock */
|
2002-12-19 08:16:50 +01:00
|
|
|
|
2003-11-24 19:33:44 +01:00
|
|
|
volatile char needs_initialization;
|
|
|
|
|
2002-12-19 08:16:50 +01:00
|
|
|
/* Table of registers that prologues can save (and order in which
|
|
|
|
they're saved). */
|
|
|
|
const unsigned char save_order[8];
|
|
|
|
|
2003-02-26 09:33:57 +01:00
|
|
|
unw_word_t r0;
|
2002-12-19 08:16:50 +01:00
|
|
|
unw_fpreg_t f0, f1_le, f1_be, nat_val_le;
|
|
|
|
unw_fpreg_t nat_val_be, int_val_le, int_val_be;
|
|
|
|
|
2003-06-03 23:36:03 +02:00
|
|
|
struct mempool reg_state_pool;
|
2002-12-19 08:16:50 +01:00
|
|
|
struct mempool labeled_state_pool;
|
|
|
|
|
|
|
|
# if UNW_DEBUG
|
|
|
|
long debug_level;
|
|
|
|
const char *preg_name[IA64_NUM_PREGS];
|
|
|
|
# endif
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Platforms that support UNW_INFO_FORMAT_TABLE need to define
|
|
|
|
tdep_search_unwind_table. */
|
|
|
|
#define tdep_search_unwind_table(a,b,c,d,e,f) \
|
2003-01-28 04:40:06 +01:00
|
|
|
_Uia64_search_unwind_table (a, b, c, d, e, f)
|
2002-12-19 08:16:50 +01:00
|
|
|
#define tdep_find_proc_info(as,ip,pi,n,a) \
|
2003-02-08 11:10:59 +01:00
|
|
|
UNW_ARCH_OBJ(find_proc_info) (as, ip, pi, n, a)
|
|
|
|
#define tdep_put_unwind_info(a,b,c) UNW_ARCH_OBJ(put_unwind_info)(a, b, c)
|
|
|
|
#define tdep_uc_addr(uc,reg) UNW_ARCH_OBJ(uc_addr)(uc, reg)
|
|
|
|
#define tdep_get_elf_image(a,b,c,d,e) UNW_ARCH_OBJ(get_elf_image) (a, b, c, \
|
|
|
|
d, e)
|
2002-12-19 08:16:50 +01:00
|
|
|
#define tdep_debug_level unw.debug_level
|
|
|
|
|
|
|
|
#define unw UNW_ARCH_OBJ(data)
|
|
|
|
|
|
|
|
extern int tdep_find_proc_info (unw_addr_space_t as, unw_word_t ip,
|
|
|
|
unw_proc_info_t *pi, int need_unwind_info,
|
|
|
|
void *arg);
|
|
|
|
extern void tdep_put_unwind_info (unw_addr_space_t as,
|
|
|
|
unw_proc_info_t *pi, void *arg);
|
|
|
|
extern void *tdep_uc_addr (ucontext_t *uc, unw_regnum_t regnum);
|
2003-02-08 11:10:59 +01:00
|
|
|
extern int tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
|
|
|
|
unsigned long *segbase, unsigned long *mapoff);
|
2002-12-19 08:16:50 +01:00
|
|
|
|
|
|
|
extern struct ia64_global_unwind_state unw;
|
|
|
|
|
|
|
|
#endif /* TDEP_IA64_H */
|