aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormostang.com!davidm <mostang.com!davidm>2003-03-06 06:14:36 +0000
committermostang.com!davidm <mostang.com!davidm>2003-03-06 06:14:36 +0000
commit45ce48f2e45200302e119997be0169d23e48ae08 (patch)
tree4d48e45cdfb50f8047d37b82e25b7f2d8983ea82
parent90c6107caee99bdd45175bd68d36b194e144674d (diff)
downloadlibunwind-45ce48f2e45200302e119997be0169d23e48ae08.tar.gz
(unw_tdep_fpreg_t): Declare as "long double".
(UNW_TDEP_EH): Declare. (UNW_TDEP_NUM_EH_REGS): New macro. (Logical change 1.59)
-rw-r--r--include/libunwind-x86.h7
1 files changed, 6 insertions, 1 deletions
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. */