From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6947 invoked by alias); 14 Aug 2009 10:07:12 -0000 Received: (qmail 5141 invoked by uid 48); 14 Aug 2009 10:06:50 -0000 Date: Fri, 14 Aug 2009 10:07:00 -0000 Message-ID: <20090814100650.5140.qmail@sourceware.org> From: "mjw at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090812145803.10512.mjw@redhat.com> References: <20090812145803.10512.mjw@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/10512] STAP_PROBES don't work in c++ constructors/destructors X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00372.txt.bz2 ------- Additional Comments From mjw at redhat dot com 2009-08-14 10:06 ------- (In reply to comment #3) > (In reply to comment #2) > > As can be seen from the alternatives suggested only the variables of the > > function into which the probe was inlined are visible. > > This is because they aren't available as dwarf locations. But the are... $ ./loc2c-test -e ./test.orig 0x40063f cxxclass.cxx (0x11): 0x400620 (/home/mark/src/test/cxxclass.cxx:54) .. 0x4007db (/home/mark/src/test/cxxclass.cxx:28) stdin [ 8ac] _IO_FILE* stdout [ 8b9] _IO_FILE* ProbeClass (0x1d): 0x400625 (/home/mark/src/test/cxxclass.cxx:14) .. 0x400656 (/home/mark/src/test/cxxclass.cxx:20) n [ 6c5] char const* v [ 6ca] const this [ 6cf] ProbeClass* const (0xb): 0x400625 (/home/mark/src/test/cxxclass.cxx:14) .. 0x400640 (/home/mark/src/test/cxxclass.cxx:15) arg1 [ 6e5] char const* volatile arg2 [ 6ed] int volatile But loc2c also has trouble retrieving them: $ ./loc2c-test -e ./test.orig 0x40063b arg1 loc2c-test: required DW_AT_frame_base attribute not supplied $ ./loc2c-test -e ./test.orig 0x40063b arg2 loc2c-test: required DW_AT_frame_base attribute not supplied -- http://sourceware.org/bugzilla/show_bug.cgi?id=10512 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.