From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A28573858C66; Sat, 13 Apr 2024 11:06:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A28573858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713006413; bh=2ol5DCBMsRqUNix0YFOt81E6eE6sX21Q2NwRFll1ZTg=; h=From:To:Subject:Date:From; b=HJhqwCNr1LdZbwujop6USy1+STelGd4Cvyx3I2I6V61q9G7vJF9AUmc2hHLPM038D CcmHf1rxa1n77g7X/XLPyQgjgf088w/ReAFZKHO1OgO3A26457l4PgnZOp0CajQfav o/SHnQV0zP5tPDSv82NBIYbfKmolbFj/XbQX/npA= From: "mark at klomp dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31639] New: read_str_index error message hard codes section name Date: Sat, 13 Apr 2024 11:06:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned 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 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31639 Bug ID: 31639 Summary: read_str_index error message hard codes section name Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org Target Milestone: --- If there is a problem with GNU_str_index or strx form in read_str_index the error produced is: Offset from DW_FORM_GNU_str_index or=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 DW_FORM_strx pointing outside of .debug_str.dwo section But when called through read_stub_str_index the section name should not be .debug_str.dwo. Which is really confusing when trying to debug what is wrong with a debug file. --=20 You are receiving this mail because: You are on the CC list for the bug.=