From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE1DD3858D37; Thu, 31 Aug 2023 16:13:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE1DD3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693498400; bh=C3F+alYOsVk1We/Y5oCFEot4OIAQcPrO0KBW9SZBZxI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ejWdG/9mHxV+dApQnQluIYCOIFvUm9LCMse4qVOnRWe0SddUe9OVTU/lciAv5ilIX V+5Osh1JSloBrzE4J95sc9jvfJL8zlYxkDo4O2DXftuef+2/G56gsyUA3H2x0jNE3B ipB9y2gRVuHnrkHQWDhr7u/8GntNFdusj9cQNRhM= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug mi/18282] Pretty Printers - unable to create variable object (string value from children()) Date: Thu, 31 Aug 2023 16:13:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi 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: 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=3D18282 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #5 from Tom Tromey --- This seems to be two different bugs. First, if children returns strings, they don't seem to appear. I get this from my test: ^done,numchild=3D"5",children=3D[child=3D{name=3D"tval.1",exp=3D"1",numchil= d=3D"8",value=3D"[8]",type=3D"char [8]"},child=3D{name=3D"tval.2",exp=3D"2",numchild=3D"7",value=3D"[7]",type= =3D"char [7]"},child=3D{name=3D"tval.3",exp=3D"3",numchild=3D"7",value=3D"[7]",type= =3D"char [7]"},child=3D{name=3D"tval.4",exp=3D"4",numchild=3D"7",value=3D"[7]",type= =3D"char [7]"},child=3D{name=3D"tval.5",exp=3D"5",numchild=3D"6",value=3D"[6]",type= =3D"char [6]"}],has_more=3D"0" The string values don't appear at all, instead for some reason we're getting map "indices". Second, the name returned by the printer doesn't necessarily correspond to any kind of sub-object. This is the part that is bug#17529. --=20 You are receiving this mail because: You are on the CC list for the bug.=