From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2B3C3858020; Tue, 19 Sep 2023 19:34:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2B3C3858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695152084; bh=mZeXd9yVmb8bLuOxxoUplhwCOoJ1ZIg+dTf8heuDqTE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MBsg8wwd2GrWVWogE5Y+Ou7mSdeoMrregiKnKp7z3KKilTD4DfH43i3hc41M87Dtc tNl49AtC06JAFTaJ4u/OdXyXcj20K6DEZYZc6bk1TNx5lWOZ6GiehLAw7dxri+VeFe JjrJrcLkRQEOT6tyEGCvq8xLgMcdiG5b6RFMTObU= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug dap/30821] DAP GDB: "this" have no children. It comes with "variablesReference" 0. Date: Tue, 19 Sep 2023 19:34:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30821 --- Comment #8 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Da56e5dce69bf= ad45ee6977a916ccea283e087e8b commit a56e5dce69bfad45ee6977a916ccea283e087e8b Author: Tom Tromey Date: Tue Sep 5 09:13:14 2023 -0600 Handle pointers and references correctly in DAP A user pointed out that the current DAP variable code does not let the client deference a pointer. Oops! Fixing this oversight is simple enough -- adding a new no-op pretty-printer for pointers and references is quite simple. However, doing this naive caused a regession in scopes.exp, which expected there to be no children of a 'const char *' variable. This problem was fixed by the preceding patches in the series, which ensure that a C type of this kind is recognized as a string. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30821 --=20 You are receiving this mail because: You are on the CC list for the bug.=