From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 129583858284; Mon, 11 Dec 2023 01:00:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 129583858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702256405; bh=86vb8frEOTWW98so2ntR4wDAuUn/iLGXCXF2m8rNUL4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FJMZb51jViDFB4Y+LrSuv67NiatLxldSJJSiCmRPMZ49047UNWtePp/QQwxHP104E yVrEkMn7ld4gl+IhFgRvkGZmXl3qH8CG12qCQYJ42urHa7aKIMUlmyo4TBnTKt00pb GozNtFNRnmV++q6EW50Um4f8zO2Sc8Jp4JCIUKRI= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/11796] `list' and `info line' fail on `struct typename' Date: Mon, 11 Dec 2023 01:00:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: unknown 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: 7.1 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=3D11796 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- It's strange that they work for types at all. This is probably an artifact of the VAR_DOMAIN stuff, where some types appear in the same namespace as variables and functions. "list" and "info line" accept a linespec. I do think it would be good if this worked, though after bug #30164 it will be a little harder. Perhaps we could add a new "also try a type" flag to linespec, so it could fall back on finding a type. --=20 You are receiving this mail because: You are on the CC list for the bug.=