From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 818DF3858D39; Thu, 8 Sep 2022 12:17:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 818DF3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662639464; bh=YUDGAABj3fd1G9TkPzZy7QJHDmg/ig4rYp3hW6m6TXk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AIICvUK+JGOICwDzaofr+V37kwTyAy/0Th7MfcYFEl4PCKPG5VHy2YFO44bUVQ+sI hSxUiXtoJq6uQ/GjTThmY+h/xHq2ILfumWV+gnHzoIgjFDlFWmIrtaoAtULAIks6vZ SaqZ4urH+o5FG/nQzh9tad66zvHm79jbRT0KMack= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29561] [gdb/symtab] During symbol reading: file index out of range Date: Thu, 08 Sep 2022 12:17:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD 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: unassigned 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=3D29561 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom de Vries --- Taking the maintenance command out of the equation, we still manage to trig= ger the same problem: ... $ gdb -q -batch -iex "set complaints 100" ./a.out -ex "info var _IO_stdin_u= sed"=20 During symbol reading: file index out of range All variables matching regular expression "_IO_stdin_used": File init.c: 23: const int _IO_stdin_used; ... Note how in the end we do manage to find the correct file for the variable. Also, same problems occurs with -readnow, so this doesn't seem related to t= he new index cooker. --=20 You are receiving this mail because: You are on the CC list for the bug.=