mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 17:17:39 +01:00
(unw_tdep_fpreg_t): Declare as "long double".
(UNW_TDEP_EH): Declare. (UNW_TDEP_NUM_EH_REGS): New macro. (Logical change 1.59)
This commit is contained in:
parent
90c6107cae
commit
45ce48f2e4
1 changed files with 6 additions and 1 deletions
|
@ -41,6 +41,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
typedef uint32_t unw_tdep_word_t;
|
typedef uint32_t unw_tdep_word_t;
|
||||||
|
|
||||||
|
typedef long double unw_tdep_fpreg_t;
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
/* Note: general registers are excepted to start with index 0.
|
/* Note: general registers are excepted to start with index 0.
|
||||||
|
@ -60,10 +62,13 @@ typedef enum
|
||||||
UNW_TDEP_LAST_REG = UNW_X86_ESP,
|
UNW_TDEP_LAST_REG = UNW_X86_ESP,
|
||||||
|
|
||||||
UNW_TDEP_IP = UNW_X86_EIP,
|
UNW_TDEP_IP = UNW_X86_EIP,
|
||||||
UNW_TDEP_SP = UNW_X86_ESP
|
UNW_TDEP_SP = UNW_X86_ESP,
|
||||||
|
UNW_TDEP_EH = UNW_X86_EAX
|
||||||
}
|
}
|
||||||
x86_regnum_t;
|
x86_regnum_t;
|
||||||
|
|
||||||
|
#define UNW_TDEP_NUM_EH_REGS 2 /* eax and ebx are exception args */
|
||||||
|
|
||||||
typedef struct unw_tdep_save_loc
|
typedef struct unw_tdep_save_loc
|
||||||
{
|
{
|
||||||
/* Additional target-dependent info on a save location. */
|
/* Additional target-dependent info on a save location. */
|
||||||
|
|
Loading…
Reference in a new issue