From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 610C53858421; Wed, 12 Jul 2023 14:47:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 610C53858421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689173249; bh=Woed/QQS6vGP0TTg/Y/h9FxX0ma5RHJCCkXlPbUx/6E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Co1KQRAoZdB60wCRgbk31zqbkvXXbT25VGdpvolnY0ZAIG6qaDZS4WF+tzga4q9xQ Ifn4rDVm4ZRg8rL61x1jBWmJ9daSkq10qoxHXzuZZqagY/iDIonC/+9b+5k9JFiTcl xdUSYCPAu7wlZKUijxZmPLcNguSLgWu3nh7F5JS0= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/30407] Tapset function print_ubacktrace_fileline() no longer works with DWARF5 Date: Wed, 12 Jul 2023 14:47:28 +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: wcohen at redhat dot com X-Bugzilla-Status: UNCONFIRMED 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30407 William Cohen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wcohen at redhat dot com --- Comment #3 from William Cohen --- Had some additional discussion with Martin on email on how to fix this. For this PR (and 29984) there are two parts that need to be addressed: 1) recognize the dwarf 5 format line info in translate.cxx. It looks like https://sourceware.org/bugzilla/show_bug.cgi?id=3D29984 mentions an area th= at needs to be changed to so systemtap copies the line information. 2) have the runtime _stp_linenumber_lookup in runtime/sym.c be able to hand= le the dwarf 5 line number headers. Need to refer to the dwarf debuginfo manuals for dwarf4 and dwarf5 from https://dwarfstd.org/, section 6.2.4 "The Line Number Program Header" for details on the differences. There are differences in the dwarf5 line number header: address_size, segment_selector_size, directories_count, directories, etc. in dwarf5 . --=20 You are receiving this mail because: You are the assignee for the bug.=