From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95A4538582A3; Tue, 7 Mar 2023 14:34:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95A4538582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678199647; bh=rV774YhDtoV8Ne42qjsN/35v7waB3wIip8cR/VtplDY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kQh6003CQ72+DQ/IlYkBzZqSkqM+7OGFm2BrjopGdI+QUva516OvuFpbvBlyRpF+X Ag12difcwp6FOBEEK9x+k9Tk2X8mXKyqxGi0jd8vjKVjb+ngJPBod9BEA8yNxhNW46 WqrJjiVvf6KkqUQ+csfKaON/Y817lEL41+igAoo8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/22686] gdb.lookup_type fails for array types Date: Tue, 07 Mar 2023 14:34:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 8.0.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=3D22686 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #7 from Tom Tromey --- Bug 11797 suggests a new 'parse_type' function that applies the language's type-parsing rules. This is more or less what 'ptype' does, with the caveat being that ptype really accepts any expression and yields its type, which can be resolved in favor of parsing as if the string were an expression if there is some ambiguity. What would be really better is a separate "type" entry point to the parsers. --=20 You are receiving this mail because: You are on the CC list for the bug.=