From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32051 invoked by alias); 16 Nov 2011 13:28:12 -0000 Received: (qmail 32023 invoked by uid 9112); 16 Nov 2011 13:28:11 -0000 Date: Wed, 16 Nov 2011 13:28:00 -0000 Message-ID: <20111116132810.32010.qmail@sourceware.org> From: mark@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-424-g2d7232c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 8c6bb2894a95b9035e7469adf339fb6402749b0f X-Git-Newrev: 2d7232ca34eee7f244949fa4d05dcf039f558709 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: 2011-q4/txt/msg00132.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 2d7232ca34eee7f244949fa4d05dcf039f558709 (commit) from 8c6bb2894a95b9035e7469adf339fb6402749b0f (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 2d7232ca34eee7f244949fa4d05dcf039f558709 Author: Mark Wielaard Date: Wed Nov 16 13:33:26 2011 +0100 Don't use dwfl_module bias in either emit_address() and vardie_from_symtable(). dwflpp::emit_address() is called by loc2c for emitting DW_OP_addr. DW_OP_addr could come from the actual dwarf location description or could be synthetically generated from through vardie_from_symtable(). vardie_from_symtable() would keep the dwfl module bias (if there was one), but the DW_OP_addr from real dwarf debuginfo would not have it. Now we are consistently not having the module bias added. Add some variants of the externalvar.exp testcase, which previously failed with older GCC versions (where we would pick up the DW_OP_addr from the dwarf location description), while newer GCCs emit dwarf DIEs for these variables that only have the external flag set. The new testcase variants use static vars, which will have DW_OP_addr emitted in both old and new GCC versions. ----------------------------------------------------------------------- Summary of changes: dwflpp.cxx | 53 +++++++++------------------ testsuite/systemtap.base/externalvar.c | 9 +++++ testsuite/systemtap.base/externalvar.exp | 16 ++++++++- testsuite/systemtap.base/externalvar.stp | 34 ++++++++++++++++++ testsuite/systemtap.base/externalvar_lib.c | 5 +++ 5 files changed, 81 insertions(+), 36 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool