From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 31A3A385802E; Wed, 24 Feb 2021 07:54:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31A3A385802E From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/27463] New: [dwz] Unhandled DW_FORM_sdata for DW_AT_decl_line Date: Wed, 24 Feb 2021 07:54:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 07:54:46 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27463 Bug ID: 27463 Summary: [dwz] Unhandled DW_FORM_sdata for DW_AT_decl_line Product: dwz Version: unspecified Status: NEW Severity: normal Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: vries at gcc dot gnu.org CC: dwz at sourceware dot org Target Milestone: --- Regression since commit 4100572 "Handle DW_FORM_implicit_const for DW_AT_decl_line". With the gdb regression testsuite, using target board cc-with-dwz, we run i= nto: ... $ dwz build/gdb/testsuite/outputs/gdb.trace/unavailable-dwarf-piece/unavailable-d= warf-piece -o z dwz: unavailable-dwarf-piece: Unhandled DW_FORM_sdata for DW_AT_decl_line ... The commit added this code: ... switch (form) { case DW_FORM_data1: value =3D read_8 (ptr); handled =3D true; b= reak; case DW_FORM_data2: value =3D read_16 (ptr); handled =3D true; = break; case DW_FORM_data4: value =3D read_32 (ptr); handled =3D true; = break; case DW_FORM_data8: value =3D read_64 (ptr); handled =3D true; = break; case DW_FORM_udata: value =3D read_uleb128 (ptr); handled =3D true; break; case DW_FORM_implicit_const: value =3D t->values[i]; handled =3D true; break; default: error (0, 0, "%s: Unhandled %s for %s", dso->filename, get_DW_FORM_str (form), get_DW_AT_str (t->attr[i].attr)); return 1; } ... and the error case triggers. --=20 You are receiving this mail because: You are on the CC list for the bug.=