diff options
author | Josh Stone <jistone@redhat.com> | 2009-04-13 19:50:23 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-04-13 19:50:23 -0700 |
commit | b9c2e81cc7a62336ec1daf374cb3411add772ab4 (patch) | |
tree | a4bd05ef043f77e6cfe8c78b6f24879f68689910 /testsuite/systemtap.base/bitfield.exp | |
parent | 675e4d2a0635f822e8258c3f219c6dda685c67cf (diff) | |
download | systemtap-steved-b9c2e81cc7a62336ec1daf374cb3411add772ab4.tar.gz systemtap-steved-b9c2e81cc7a62336ec1daf374cb3411add772ab4.tar.xz systemtap-steved-b9c2e81cc7a62336ec1daf374cb3411add772ab4.zip |
PR10067: fix bitfield access
* tapsets.cxx (dwflpp::translate_components): Eliminate the extra
die-dereference at the end of the loop (a regression from @casts).
* runtime/loc2c-runtime.h (store_bitfield): Use the target as the
representative type, since the base is always int64_t. Also be a
bit more aggressive with masking and parentheses.
* testsuite/systemtap.base/bitfield.*: New test for R/W bitfields.
Diffstat (limited to 'testsuite/systemtap.base/bitfield.exp')
-rw-r--r-- | testsuite/systemtap.base/bitfield.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/bitfield.exp b/testsuite/systemtap.base/bitfield.exp new file mode 100644 index 00000000..16451369 --- /dev/null +++ b/testsuite/systemtap.base/bitfield.exp @@ -0,0 +1,3 @@ +# test that bitfield r/w works correctly +set test "bitfield" +stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string -g |