mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 16:47:38 +01:00
(unw_save_loc_t): New member "extra" to hold arch-specific save-location info.
(unw_get_save_loc): Define. (Logical change 1.10)
This commit is contained in:
parent
fb94137d04
commit
48da72afd7
1 changed files with 4 additions and 1 deletions
|
@ -146,7 +146,7 @@ typedef enum unw_save_loc_type
|
|||
{
|
||||
UNW_SLT_NONE, /* register is not saved ("not an l-value") */
|
||||
UNW_SLT_MEMORY, /* register has been saved in memory */
|
||||
UNW_SLT_REG, /* register has been saved in (another) register */
|
||||
UNW_SLT_REG /* register has been saved in (another) register */
|
||||
}
|
||||
unw_save_loc_type_t;
|
||||
|
||||
|
@ -159,6 +159,7 @@ typedef struct unw_save_loc
|
|||
unw_regnum_t regnum; /* valid if type==UNW_SLT_REG */
|
||||
}
|
||||
u;
|
||||
unw_tdep_save_loc_t extra; /* target-dependent additional information */
|
||||
}
|
||||
unw_save_loc_t;
|
||||
|
||||
|
@ -204,6 +205,8 @@ extern int UNW_OBJ(is_signal_frame) (unw_cursor_t *c);
|
|||
#define unw_get_fpreg(c,r,v) UNW_OBJ(get_fpreg)(c,r,v)
|
||||
#define unw_set_fpreg(c,r,v) UNW_OBJ(set_fpreg)(c,r,v)
|
||||
|
||||
#define unw_get_save_loc(c,r,l) UNW_OBJ(get_save_loc)(c,r,l)
|
||||
|
||||
/* Returns non-zero value if the cursor points to a signal frame. */
|
||||
#define unw_is_signal_frame(c) UNW_OBJ(is_signal_frame)(c)
|
||||
|
||||
|
|
Loading…
Reference in a new issue