From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7B2B3938C0F; Mon, 7 Jun 2021 20:37:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7B2B3938C0F From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/27962] Internal error when using binary from gdb.dwarf2/arr-stride.exp Date: Mon, 07 Jun 2021 20:37:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2021 20:37:29 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27962 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #2 from Tom Tromey --- At first I thought this was because we're trying to print an optimized-out array. And, that still seems weird, maybe common_val_print and common_val_print_checked should be merged However, it's also the case that this array has a bit stride of 6. So, this may just be a missing feature in value_print_array_elements. I'm not sure how important this is. Arrays like this can't be created in most languages that gdb supports. OTOH, it should be safe to print a value, regardless of the current language. --=20 You are receiving this mail because: You are on the CC list for the bug.=