This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.7-171-g600551c


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".

The branch, master has been updated
       via  600551ca9fb694d2757d66a4bf281dcf6934d9bf (commit)
      from  40c93fa13087b76e8caa28ad38fb2c6b4628c2c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 600551ca9fb694d2757d66a4bf281dcf6934d9bf
Author: Josh Stone <jistone@redhat.com>
Date:   Thu Apr 19 14:11:00 2012 -0700

    PR13998: pretty-print bit fields numerically
    
    When a struct member has bit attributes, we should always pretty-print
    it as a number, even if the underlying type is a character.  Since these
    attributes only show up in DWARF on the member, not the type die, we
    need to treat it as a special case from the struct member iteration.
    
    * tapsets.cxx (dwarf_pretty_print::recurse_bitfield): Print the incoming
      type numerically, regardless of whether it's a char.
      (dwarf_pretty_print::recurse_struct_members): If a member has a
      bit_offset attribute, use recurse_bitfield instead of normal recurse.
    * testsuite/systemtap.printf/pretty-bits.*: Test how bitfields are
      pretty-printed, both for ints and chars underneath.

-----------------------------------------------------------------------

Summary of changes:
 tapsets.cxx                                |   58 +++++++++++++++++++++++++++-
 testsuite/systemtap.printf/pretty-bits.exp |    9 ++++
 testsuite/systemtap.printf/pretty-bits.h   |    6 +++
 testsuite/systemtap.printf/pretty-bits.stp |   21 ++++++++++
 4 files changed, 93 insertions(+), 1 deletions(-)
 create mode 100644 testsuite/systemtap.printf/pretty-bits.exp
 create mode 100644 testsuite/systemtap.printf/pretty-bits.h
 create mode 100644 testsuite/systemtap.printf/pretty-bits.stp


hooks/post-receive
--
systemtap: system-wide probe/trace tool


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]