From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26751 invoked by alias); 7 Mar 2012 12:39:41 -0000 Received: (qmail 26721 invoked by uid 9112); 7 Mar 2012 12:39:39 -0000 Date: Wed, 07 Mar 2012 12:39:00 -0000 Message-ID: <20120307123939.26710.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.7-80-g4d51e8c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: abcd27b8b950913a1c2588ef7f3dd0ec4bcd24dd X-Git-Newrev: 4d51e8ca64dd4f780781a1280bc7887acc822b33 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-q1/txt/msg00143.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 4d51e8ca64dd4f780781a1280bc7887acc822b33 (commit) from abcd27b8b950913a1c2588ef7f3dd0ec4bcd24dd (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 4d51e8ca64dd4f780781a1280bc7887acc822b33 Author: Mark Wielaard Date: Wed Mar 7 13:35:56 2012 +0100 PR10622. Better workaround for GCC PR51410. Find external var DIE location. Some GCC versions would output duplicate external variables, one without a location attribute. If so, try to find the other if it exists in the same scope. This is a better solution than the previous fallback solution of just trying to get the address in the symbol table. That could result in picking the wrong external variable with the same name (but from a different CU). Add test case to show this works better. ----------------------------------------------------------------------- Summary of changes: dwflpp.cxx | 30 ++++++++++++++++ testsuite/systemtap.base/global_var.exp | 44 ++++++++++++++++++++++++ testsuite/systemtap.base/global_var.stp | 14 +++++++ testsuite/systemtap.base/global_var_distance.c | 4 ++ testsuite/systemtap.base/global_var_main.c | 30 ++++++++++++++++ testsuite/systemtap.base/global_var_speed.c | 4 ++ 6 files changed, 126 insertions(+), 0 deletions(-) create mode 100644 testsuite/systemtap.base/global_var.exp create mode 100644 testsuite/systemtap.base/global_var.stp create mode 100644 testsuite/systemtap.base/global_var_distance.c create mode 100644 testsuite/systemtap.base/global_var_main.c create mode 100644 testsuite/systemtap.base/global_var_speed.c hooks/post-receive -- systemtap: system-wide probe/trace tool