From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C82A3857B87; Wed, 22 Nov 2023 14:59:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C82A3857B87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1700665192; bh=GRCArZtTaNf++gQU2bywqU9BsHq1GeEfwc0gD2KnXaY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i3k5L3jlqZqO50FdY56kRLGcB2HnsVJ8gzQrPOiUTRJKenhV1QSYcquddN7p7c3ik WUSfEG4fVWlO/vMp5c0y7OUYL/MGEY3kwFPAgIliHMOqd6KXm7myNaFGZuJaMx0d6F GRO6bzDtnjsHkuix3K7mmxWxGylwhqVmIZ86yjzU= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/31081] XMethods for C++23 multi-dimensional operator[](idx1, idx2, ...) do not work Date: Wed, 22 Nov 2023 14:59:51 +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: 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: cf_reconfirmed_on cc bug_status everconfirmed 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=3D31081 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-11-22 CC| |tromey at sourceware dot o= rg Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Tom Tromey --- gdb's c++ parser doesn't understand the multi-dimensional subscript operator either, though I'm not sure if this is needed for xmethods or not. If the problem is purely in the xmethod implementation (I have no idea) then that is more of a libstdc++ issue. There's another bug about being able to have pretty-printers request multi-dimensional array output, that was never implemented either. --=20 You are receiving this mail because: You are on the CC list for the bug.=