From 5c62c8958867f72b9b78e84e71a4438eb4d86f71 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 5 Jul 2010 16:19:27 +0200 Subject: [PATCH] Fix probefunc regression caused by swapping of arguments. Regression introduced by commit 1f5359. * tapset/context-symbols.stp (probefunc): Swap flags and addr arguments in call to _stp_print_addr(). --- tapset/context-symbols.stp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tapset/context-symbols.stp b/tapset/context-symbols.stp index 9bb0f2479..0a49c38d2 100644 --- a/tapset/context-symbols.stp +++ b/tapset/context-symbols.stp @@ -112,7 +112,8 @@ function probefunc:string () %{ /* pure */ } else if (CONTEXT->regs && !user_mode(CONTEXT->regs)) { _stp_snprint_addr(THIS->__retvalue, MAXSTRINGLEN, - _STP_SYM_SYMBOL, REG_IP(CONTEXT->regs), NULL); + REG_IP(CONTEXT->regs), + _STP_SYM_SYMBOL, NULL); if (THIS->__retvalue[0] == '.') /* powerpc symbol has a dot*/ strlcpy(THIS->__retvalue,THIS->__retvalue + 1,MAXSTRINGLEN); } else { -- 2.43.5