Define GET_IP for x86_64.
This commit is contained in:
parent
ee7d27a7bf
commit
c7d649483b
|
@ -70,6 +70,8 @@ static RTL_CRITICAL_SECTION vectored_handlers_section = { &critsect_debug, -1, 0
|
|||
# define GET_IP(context) ((LPVOID)(context)->Iar)
|
||||
#elif defined(__ALPHA__)
|
||||
# define GET_IP(context) ((LPVOID)(context)->Fir)
|
||||
#elif defined(__x86_64__)
|
||||
# define GET_IP(context) ((LPVOID)(context)->Rip)
|
||||
#else
|
||||
# error You must define GET_IP for this CPU
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue