]> sourceware.org Git - systemtap.git/commitdiff
Fix probefunc regression caused by swapping of arguments.
authorMark Wielaard <mjw@redhat.com>
Mon, 5 Jul 2010 14:19:27 +0000 (16:19 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 5 Jul 2010 14:19:27 +0000 (16:19 +0200)
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

index 9bb0f2479494688f80218052a5e46f3beb0edc4d..0a49c38d2b9dffd88830b76363f0d257ca37b046 100644 (file)
@@ -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 {
This page took 0.03029 seconds and 5 git commands to generate.