From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E39E738582B7; Thu, 31 Aug 2023 17:54:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E39E738582B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693504459; bh=POAMpKhc5Ld2MFCy+RxG0Mk9N4yBbBiG4D711ZMDI7M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ljgbivdzfMNibj0S+LS0KjTrAgj2l8tFYTYhUI7MVyp3EGglkPxAEzfqTuoSl5Lwl anyTVfITOw3u3J2pb14u++n5cl41BL26ICa9MJcbsrW5UdbazwDpS4ln6uXtRRBLwe m8rq8fQVx8W0PkisYrBrleH5CBXmWc+vmsca62yg= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug varobj/18282] Pretty Printers - unable to create variable object (string value from children()) Date: Thu, 31 Aug 2023 17:54:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: varobj X-Bugzilla-Version: 7.3 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: 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=3D18282 --- Comment #6 from Tom Tromey --- This turns out to be this code in c_value_of_variable: case TYPE_CODE_ARRAY: return string_printf ("[%d]", var->num_children); i.e., the weird short-circuiting thing strikes again. --=20 You are receiving this mail because: You are on the CC list for the bug.=