]> sourceware.org Git - systemtap.git/commitdiff
As part of PR11955, update the signal-handle.stp buildok testcase.
authorDavid Smith <dsmith@redhat.com>
Mon, 4 Feb 2013 18:54:22 +0000 (12:54 -0600)
committerDavid Smith <dsmith@redhat.com>
Mon, 4 Feb 2013 18:54:22 +0000 (12:54 -0600)
* testsuite/buildok/signal-handle.stp: Handle 'oldset_addr' and 'regs'
  deprecation.

testsuite/buildok/signal-handle.stp

index 2aae38d9aedab1d59f79d1b602b4afe2cde0ebfb..8f38f01c55c587ab4da531d15aac797588b25560 100755 (executable)
@@ -5,6 +5,9 @@
 probe signal.handle
 {
        printf("%s(%d(%s), %p\n", name, sig, sig_name, sinfo)
-       printf("%d %p %p %d\n", sig_code, ka_addr, oldset_addr, regs)
+       printf("%d %p\n", sig_code, ka_addr)
+%( systemtap_v <= "2.1" %?
+       printf("%p %d\n", oldset_addr, regs)
+%)
        printf("%s\n", sig_mode)
 }
This page took 0.031034 seconds and 5 git commands to generate.