summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2013-08-30 16:57:14 +0300
committerAliaksey Kandratsenka <alk@tut.by>2013-08-30 16:57:14 +0300
commit28dd85e2825af71138621a4417e6ab004631924d (patch)
tree1613f9969e5a3f4f360490bbeb772aa72f19a9be
parent819a2b051f1dba9526f2338098fff6dd1700bdb6 (diff)
downloadgperftools-28dd85e2825af71138621a4417e6ab004631924d.tar.gz
implement pc from ucontext access for mips
-rw-r--r--m4/pc_from_ucontext.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/pc_from_ucontext.m4 b/m4/pc_from_ucontext.m4
index dee73a1..b4fd0d0 100644
--- a/m4/pc_from_ucontext.m4
+++ b/m4/pc_from_ucontext.m4
@@ -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)