]> sourceware.org Git - systemtap.git/commitdiff
Fix lvalue deref function syntax
authorRichard Henderson <rth@redhat.com>
Mon, 22 May 2017 19:32:04 +0000 (12:32 -0700)
committerRichard Henderson <rth@redhat.com>
Mon, 22 May 2017 19:32:04 +0000 (12:32 -0700)
translate.cxx

index a6d4ec651713675540802e134ae93a44595753fe..f349dadb319c95c6818020548a9334406778f2f2 100644 (file)
@@ -5258,8 +5258,9 @@ c_unparser_assignment::visit_target_deref (target_deref* e)
 
   translator_output* o = parent->o;
   o->newline() << (e->userspace_p ? "store_uderef(" : "store_kderef(")
-              << e->size << ", " << rval << ")";
-  o->newline() << rval << ";";
+              << e->size << ", (";
+  e->addr->visit (parent);
+  o->line() << "), " << rval << ")";
 }
 
 void
This page took 0.035577 seconds and 5 git commands to generate.