From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12068 invoked by alias); 6 May 2012 13:09:49 -0000 Received: (qmail 12017 invoked by uid 22791); 6 May 2012 13:09:48 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_MJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 May 2012 13:09:34 +0000 From: "mjw at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/14026] print_ubacktrace doesn't resolve the symbol name Date: Sun, 06 May 2012 13:09:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mjw at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-q2/txt/msg00127.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14026 --- Comment #18 from Mark Wielaard 2012-05-06 13:09:17 UTC --- It is strange that the same binary compiled with gcc-4.6 does produce a good backtrace, while one compiled with gcc-.4.4 doesn't In both cases the FDE associated with the pc probe point points to a similar CIE. GCC 4.4 binary: 00003dd4 00000024 00003d98 FDE cie=00000040 pc=08074810..08074863 DW_CFA_advance_loc: 1 to 08074811 [...] GCC 4.6 binary: 00003d78 0000001c 00003d3c FDE cie=00000040 pc=08075410..08075463 DW_CFA_advance_loc: 4 to 08075414 [...] In both cases the CIE looks like: 00000040 00000014 00000000 CIE Version: 1 Augmentation: "zR" Code alignment factor: 1 Data alignment factor: -4 Return address column: 8 Augmentation data: 1b DW_CFA_def_cfa: r4 (esp) ofs 4 DW_CFA_offset: r8 (eip) at cfa-4 DW_CFA_nop DW_CFA_nop So the result should be the same since the first operand of the FDE is an DW_CFA_advance_loc that gets you past the probe point pc address (target loc). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.