From cf655a6a9b1dd3a4f8060c449f26ea7209b70d49 Mon Sep 17 00:00:00 2001 From: rslopes Date: Sat, 15 Oct 2005 17:05:23 +0000 Subject: [PATCH] enable profiling on amd64 git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1401 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/absmi.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/C/absmi.c b/C/absmi.c index 480ff05ee..73bc0a9b5 100644 --- a/C/absmi.c +++ b/C/absmi.c @@ -10,8 +10,11 @@ * * * File: absmi.c * * comments: Portable abstract machine interpreter * -* Last rev: $Date: 2005-09-09 17:24:37 $,$Author: vsc $ * +* Last rev: $Date: 2005-10-15 17:05:23 $,$Author: rslopes $ * * $Log: not supported by cvs2svn $ +* Revision 1.177 2005/09/09 17:24:37 vsc +* a new and hopefully much better implementation of atts. +* * Revision 1.176 2005/09/08 22:06:44 rslopes * BEAM for YAP update... * @@ -330,7 +333,7 @@ void prof_alrm(int signo, siginfo_t *si, ucontext_t *sc); void prof_alrm(int signo, siginfo_t *si, ucontext_t *sc) { -#if __linux__ && defined(i386) +#if __linux__ && (defined(i386) || defined(__amd64__)) void * oldpc=(void *) sc->uc_mcontext.gregs[14]; /* 14= REG_EIP */ if (Yap_PrologMode & TestMode) {