From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10570 invoked by alias); 19 Apr 2012 21:22:08 -0000 Received: (qmail 10533 invoked by uid 9586); 19 Apr 2012 21:22:06 -0000 Date: Thu, 19 Apr 2012 21:22:00 -0000 Message-ID: <20120419212206.10522.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.7-171-g600551c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 40c93fa13087b76e8caa28ad38fb2c6b4628c2c4 X-Git-Newrev: 600551ca9fb694d2757d66a4bf281dcf6934d9bf Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2012-q2/txt/msg00024.txt.bz2 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 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