From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1CAD6382D83E; Fri, 5 Mar 2021 13:03:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CAD6382D83E From: "autkin at undo dot io" To: gdb-prs@sourceware.org Subject: [Bug c++/23444] Syntax error for watch -l and print Date: Fri, 05 Mar 2021 13:03:38 +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: 8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: autkin at undo dot io 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 13:03:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23444 --- Comment #7 from Andrey Utkin --- There are more problems than that. See my test file attached. Putting a location watchpoint on dm__t2, gl__ns_t2, gl__cc_ns_t2 reproduces= the original "syntax error" problem. But some others: dm__t, dm__ns_t, dm__ns_ns_t, gl__ns_ns_t show a different error: No type "NS" within class or namespace "NS::NS". Which is silly for variables which are validly defined in a well-formed, compilable and executable program. --=20 You are receiving this mail because: You are on the CC list for the bug.=