factor/vm/os-linux-ppc.h

5 lines
185 B
C
Raw Normal View History

2007-10-05 17:30:10 -04:00
#define FRAME_RETURN_ADDRESS(frame) *((XT *)(frame_successor(frame) + 1) + 1)
2007-09-20 18:09:08 -04:00
#define UAP_PROGRAM_COUNTER(ucontext) \
(((ucontext_t *)(ucontext))->uc_mcontext.uc_regs->gregs[PT_NIP])