From 9500f4e4861b057f2335c76e7342aab0c8d9faf4 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 18 Sep 2009 19:40:23 +0200 Subject: Don't mark print_ustack() as pure, it has side effects (printing the stack). * tapset/ucontext-symbols.stp (print_ustack): Remove /* pure */ --- tapset/ucontext-symbols.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapset/ucontext-symbols.stp b/tapset/ucontext-symbols.stp index e884a36b..574a32be 100644 --- a/tapset/ucontext-symbols.stp +++ b/tapset/ucontext-symbols.stp @@ -64,7 +64,7 @@ function usymdata:string (addr: long) %{ /* pure */ /* unprivileged */ * name of the function containing the address, and an estimate of * its position within that function. Return nothing. */ -function print_ustack(stk:string) %{ /* pure */ /* unprivileged */ +function print_ustack(stk:string) %{ /* unprivileged */ char *ptr = THIS->stk; char *tok = strsep(&ptr, " "); assert_is_myproc(); -- cgit