From 45ce48f2e45200302e119997be0169d23e48ae08 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 6 Mar 2003 06:14:36 +0000 Subject: (unw_tdep_fpreg_t): Declare as "long double". (UNW_TDEP_EH): Declare. (UNW_TDEP_NUM_EH_REGS): New macro. (Logical change 1.59) --- include/libunwind-x86.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/libunwind-x86.h b/include/libunwind-x86.h index 36b27d11..9053436a 100644 --- a/include/libunwind-x86.h +++ b/include/libunwind-x86.h @@ -41,6 +41,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ typedef uint32_t unw_tdep_word_t; +typedef long double unw_tdep_fpreg_t; + typedef enum { /* 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_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; +#define UNW_TDEP_NUM_EH_REGS 2 /* eax and ebx are exception args */ + typedef struct unw_tdep_save_loc { /* Additional target-dependent info on a save location. */ -- cgit v1.2.3