From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CB66B3858C53; Wed, 21 Feb 2024 16:00:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB66B3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708531234; bh=i47IK6dkr5YyNY5dO+T2/T/39ki2pCjDNzbwyplApv0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PTvjejouRw9T6bH7OV3Y9UudzTwFSzUZE7JVYQQNhvOXK20oJNSkHtuRdLWvMCwBy kqi4iomObTi8SyVfdY+t+ArBFW3i6fpDjQXlcthXFVqeWHX8RBCqi5gdHWl9btSKlq zCqVrYdij/eKkegIt0IN6iNuQhPqgOq1geaAxkxU= From: "jlmacedomatos at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug rust/31401] Error when placing watchpoint rust debug build Date: Wed, 21 Feb 2024 16:00:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: 15.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlmacedomatos at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31401 --- Comment #2 from Joao Luca --- Hi, thanks for the answer. For some reason i assumed that i could do everything with C syntax. Anyway, after looking at the rust testcases i realize that i could accompli= sh what i wanted with: `watch *(0x7fffffffd4cc as *mut [u8; 4])` Completely forgot about the `as` keyword. --=20 You are receiving this mail because: You are on the CC list for the bug.=