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:
parent
4dedcd7c53
commit
24ac6e693d
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue