]> sourceware.org Git - systemtap.git/commitdiff
Add function to dump expressions from gdb
authorRichard Henderson <rth@redhat.com>
Fri, 12 May 2017 19:19:25 +0000 (12:19 -0700)
committerRichard Henderson <rth@redhat.com>
Fri, 12 May 2017 19:19:25 +0000 (12:19 -0700)
staptree.cxx

index dd3479a05e636e4fe407cf6c02406eb315b8fae4..b5be7bd9e359b1271feaf7826d10ab1e7d31631a 100644 (file)
@@ -1486,7 +1486,11 @@ ostream& operator << (ostream& o, const symboldecl& k)
   return o;
 }
 
-
+void
+debug(expression *e)
+{
+  cout << *e << endl;
+}
 
 // ------------------------------------------------------------------------
 // visitors
This page took 0.028055 seconds and 5 git commands to generate.