From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44456 invoked by alias); 21 Jul 2015 14:10:29 -0000 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 Received: (qmail 44414 invoked by uid 48); 21 Jul 2015 14:10:24 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/18649] int_arg() misbehaves on x86[_64] for 32-bit uprobe in binary having debuginfo Date: Tue, 21 Jul 2015 14:10:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00044.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18649 --- Comment #8 from Martin Cermak --- So, SYSTEMTAP_DEBUGINFO doesn't seem to work for built-in debuginfo. So I attepmted to "trace" how -P works and disabled prologue searching in the source: ======= diff --git a/tapsets.cxx b/tapsets.cxx index 2a50fbd..463dd09 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1719,7 +1719,7 @@ query_addr(Dwarf_Addr addr, dwarf_query *q) { if (!dw.die_entrypc(fnscope, &addr)) return; - if (dwarf_tag(fnscope) == DW_TAG_subprogram && + if (false && dwarf_tag(fnscope) == DW_TAG_subprogram && // XXXYYY (q->sess.prologue_searching || (q->has_process && !q->dw.has_valid_locs()))) // PR 6871 && PR 6941 { @@ -2210,7 +2210,7 @@ query_cu (Dwarf_Die * cudie, dwarf_query * q) if (rc != DWARF_CB_OK) q->query_done = true; - if (!q->filtered_functions.empty() && + if (false && !q->filtered_functions.empty() && // XXXYYY !q->has_statement_str && // PR 2608 (q->sess.prologue_searching || (q->has_process && !q->dw.has_valid_locs()))) // PR 6871 && PR 6941 ======= This seems to help. So would it make sense if I'd try to add that tri-state long option as suggested in Comment #5, that would drive prologue searching at these two places? -- You are receiving this mail because: You are the assignee for the bug.