This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-139-g766d05e
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 18 Aug 2009 20:06:35 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-139-g766d05e
- Reply-to: systemtap at sourceware dot org
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 766d05e2cabc44805a9e12c4c309d1232f681f10 (commit)
via 7bce6f87482ece5b55db98b589666a2adac9cd1f (commit)
via a2e0408065b872f8afac3364f218d9ebf9447dd1 (commit)
from a7ed0d3e9d68f5f83e8b9f6679ce12637842b03b (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 766d05e2cabc44805a9e12c4c309d1232f681f10
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Aug 18 22:01:53 2009 +0200
Add testcase for PR10533 (inlined vars) and 10537 (inlined labels - disabled)
Partial testcase for PR10533 (inlined vars) and 10537 (inlined labels)
currently we cannot use the full testcase since stap doesn't support
probing multiple instances of inlined labels.
* testsuite/systemtap.base/inlinedvars.exp: New file.
* testsuite/systemtap.base/inlinedvars.stp: Likewise.
* testsuite/systemtap.base/inlinedvars.c: Likewise.
commit 7bce6f87482ece5b55db98b589666a2adac9cd1f
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Aug 18 21:54:54 2009 +0200
PR10533 inlined vars are not always found (dwflpp).
dwflpp::find_variable_and_frame_base switched too early to "pyshical view"
of die tree. We need to lookup the var in the "syntactical view" of the die
tree first. Then when we see a DW_TAG_inlined_subroutine while walking the
syntactical die tree as returned by dwarf_getscopes for a given variable
to retrieve the frame base, then we need to switch to walking the physical
die tree where the subroutine is inlined.
* dwflpp.cxx (find_variable_and_frame_base): Don't immediately go to
die_scopes, but lookup var first based on pc. Then switch "die branches"
when searching for frame base and a DW_TAG_inlined_subroutine is
encountered.
commit a2e0408065b872f8afac3364f218d9ebf9447dd1
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Aug 18 21:52:59 2009 +0200
PR10533 inlined vars are not always found (lo2c-test off-by-one).
* loc2c-test.c (handle_variable): Set inner to zero after
calling dwarf_getscopes_die(), for loop will increase inner.
-----------------------------------------------------------------------
Summary of changes:
dwflpp.cxx | 40 ++++++++++++++++++---------
loc2c-test.c | 2 +-
testsuite/systemtap.base/inlinedvars.c | 43 ++++++++++++++++++++++++++++++
testsuite/systemtap.base/inlinedvars.exp | 26 ++++++++++++++++++
testsuite/systemtap.base/inlinedvars.stp | 4 +++
5 files changed, 100 insertions(+), 15 deletions(-)
create mode 100644 testsuite/systemtap.base/inlinedvars.c
create mode 100644 testsuite/systemtap.base/inlinedvars.exp
create mode 100644 testsuite/systemtap.base/inlinedvars.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool