From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 396D63858288; Tue, 30 Apr 2024 03:03:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 396D63858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714446232; bh=XqJjptRa2sprh2zlZfr4AE5zy81njqWHL0dz63BTBvg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RIdZSddUkZ6d9wVTlQPJNiLzfzlyvOJ3cSMlzMir9Afmhd8SjHFzRM1kNqKj+wdB9 u8q7sRFwfa3Fe61+CzC4VaTzHoXbZZVfnON95rytpTFV+9rr6g1bHBl9I67p8hVZz+ Ejvzmj4yO/xNnLJcyzKBWBvvlss2e4Fxk77ESo4g= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31484] [gdb/testsuite] Add memcpy, memmove, memset watchpoint tests Date: Tue, 30 Apr 2024 03:03:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 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=3D31484 --- Comment #11 from Sourceware Commits --- The master branch has been updated by Thiago Bauermann : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D6b4b601b35a0= aaf2b8b5db8e5793302736504171 commit 6b4b601b35a0aaf2b8b5db8e5793302736504171 Author: Thiago Jung Bauermann Date: Thu Apr 18 23:24:55 2024 -0300 gdb/testsuite: Add gdb.base/memops-watchpoint.exp Test behaviour of watchpoints triggered by libc's memset/memcpy/memmove. These functions are frequently optimized with specialized instructions that favor larger memory access operations, so make sure GDB behaves correctly in their presence. There's a separate watched variable for each function so that the testc= ase can test whether GDB correctly identified the watchpoint that triggered. Also, the watchpoint is 28 bytes away from the beginning of the buffer being modified, so that large memory accesses (if present) are exercise= d. PR testsuite/31484 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31484 Approved-by: Kevin Buettner --=20 You are receiving this mail because: You are on the CC list for the bug.=