From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C71593858C2B; Fri, 16 Jun 2023 14:25:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C71593858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686925521; bh=/X3Y/ukpFTxv0VygDy/D2M9rm3mg91qUYq10jIKhTL0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XPlj6HYoqK2s5nP2WG2aHQ8on3x4AytiJbt9Lx2yjtShxg0+8Arfv7ge5rUz/KvcM La5zi9rHV0ZQCjDiNBEH5h6W/vwxGuLa0ilBJXFYSPddAhUqNrg2xWQEIFyL4dG6zf WJLXPymzExzXbJpSylmHm2fN35Rh7Ely6TVoBEIc= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/30556] printing the std::string array fails: {Python Exception : There is no member or method named __short_mask. Date: Fri, 16 Jun 2023 14:25:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED 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=3D30556 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- This works for me: (gdb) p colourData=20 $1 =3D {"x", "y"} Using: set python print-stack full would show more of what went wrong. Most likely, though, this is a bug in whatever pretty-printers you are using. gdb doesn't refer to "__short_mask". --=20 You are receiving this mail because: You are on the CC list for the bug.=