HPCToolkit
specific-ucontext-manip.h File Reference
#include <ucontext.h>
Include dependency graph for specific-ucontext-manip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __USE_GNU
 
#define UC_REGS(uc, reg)   (uc).uc_mcontext.gregs[reg]
 
#define UC_REG_IP(uc)   UC_REGS(uc, REG_RIP)
 
#define UC_REG_BP(uc)   UC_REGS(uc, REG_RBP)
 
#define UC_REG_SP(uc)   UC_REGS(uc, REG_RSP)
 

Macro Definition Documentation

◆ __USE_GNU

#define __USE_GNU

Definition at line 5 of file specific-ucontext-manip.h.

◆ UC_REG_BP

#define UC_REG_BP (   uc)    UC_REGS(uc, REG_RBP)

Definition at line 12 of file specific-ucontext-manip.h.

◆ UC_REG_IP

#define UC_REG_IP (   uc)    UC_REGS(uc, REG_RIP)

Definition at line 11 of file specific-ucontext-manip.h.

◆ UC_REG_SP

#define UC_REG_SP (   uc)    UC_REGS(uc, REG_RSP)

Definition at line 13 of file specific-ucontext-manip.h.

◆ UC_REGS

#define UC_REGS (   uc,
  reg 
)    (uc).uc_mcontext.gregs[reg]

Definition at line 9 of file specific-ucontext-manip.h.