Skip to content

Commit

Permalink
implement pc from ucontext access for mips
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksey Kandratsenka committed Aug 30, 2013
1 parent 819a2b0 commit 28dd85e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions m4/pc_from_ucontext.m4
Expand Up @@ -25,6 +25,7 @@ AC_DEFUN([AC_PC_FROM_UCONTEXT],
pc_fields="$pc_fields uc_mcontext.gregs[[REG_EIP]]" # Linux (i386)
pc_fields="$pc_fields uc_mcontext.gregs[[REG_RIP]]" # Linux (x86_64)
pc_fields="$pc_fields uc_mcontext.sc_ip" # Linux (ia64)
pc_fields="$pc_fields uc_mcontext.pc" # Linux (mips)
pc_fields="$pc_fields uc_mcontext.uc_regs->gregs[[PT_NIP]]" # Linux (ppc)
pc_fields="$pc_fields uc_mcontext.gregs[[R15]]" # Linux (arm old [untested])
pc_fields="$pc_fields uc_mcontext.arm_pc" # Linux (arm arch 5)
Expand Down

0 comments on commit 28dd85e

Please sign in to comment.