diff options
author | fche <fche> | 2005-08-02 18:03:17 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-02 18:03:17 +0000 |
commit | a781f4011250a7d6450025a92336250044ab46eb (patch) | |
tree | 83f207ad0014565aeb28b2f5dda7b48e28f8feab /loc2c.c | |
parent | 71696fcfa2761a2d09a0538c0101913f1c41925c (diff) | |
download | systemtap-steved-a781f4011250a7d6450025a92336250044ab46eb.tar.gz systemtap-steved-a781f4011250a7d6450025a92336250044ab46eb.tar.xz systemtap-steved-a781f4011250a7d6450025a92336250044ab46eb.zip |
2005-08-02 Frank Ch. Eigler <fche@elastic.org>
* loc2.c (emit_loc_address): Emit interleaved declaration into
its own nested { } block.
* tapsets.cxx (literal_stmt_for_local): Emit deref_fault block
unconditionally.
* tapset/builtin_hexstring.stp: New builtin.
* testsuite/buildok/six.stp: New test.
Diffstat (limited to 'loc2c.c')
-rw-r--r-- | loc2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1317,6 +1317,7 @@ emit_loc_address (FILE *out, struct location *loc, unsigned int indent, emit ("%s", loc->address.program); else { + emit ("{\n"); emit ("%*s%s " STACKFMT, (indent + 1) * 2, "", STACK_TYPE, 0); for (unsigned int i = 1; i < loc->address.stack_depth; ++i) emit (", " STACKFMT, i); @@ -1324,6 +1325,7 @@ emit_loc_address (FILE *out, struct location *loc, unsigned int indent, emit ("%s%*s%s = " STACKFMT ";\n", loc->address.program, (indent + 1) * 2, "", target, 0); + emit ("}\n"); } } |