1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-10 19:23:41 +01:00

(unw_tdep_is_fpreg): Define it as an external function (a macro would

have to evaluate the argument multiple times so it's better
	to implement it out-of-line).

(Logical change 1.156)
This commit is contained in:
mostang.com!davidm 2004-01-21 01:05:07 +00:00
parent 4dedcd7c53
commit 24ac6e693d

View file

@ -155,8 +155,8 @@ typedef ucontext_t unw_tdep_context_t;
by glibc... */
#define unw_tdep_getcontext(uc) (getcontext (uc), 0)
/* XXX fixme: */
#define unw_tdep_is_fpreg(r) ((unsigned) ((r) - UNW_X86_FR) < 128)
#define unw_tdep_is_fpreg UNW_ARCH_OBJ(is_fpreg)
extern int unw_tdep_is_fpreg (int);
#include "libunwind-dynamic.h"