From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23191 invoked by alias); 20 Aug 2014 18:23:07 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 23160 invoked by uid 55); 20 Aug 2014 18:23:06 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/12649] reproducer for races of expect incomplete reads Date: Wed, 20 Aug 2014 18:23:00 -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: ASSIGNED 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: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00300.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=12649 --- Comment #15 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via 2a31c6236de308f7109720230e70b96c5d5b966a (commit) from 469a34932ae4208240e98c843b01ea1f00892137 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a31c6236de308f7109720230e70b96c5d5b966a commit 2a31c6236de308f7109720230e70b96c5d5b966a Author: Pedro Alves Date: Wed Aug 20 18:55:54 2014 +0100 Integrate PR 12649's race detector directly in the testsuite machinery This integrates Jan Kratochvil's nice race reproducer from PR testsuite/12649 into the testsuite infrustructure directly. With this, one only has to do either 'make check-read1' or 'make check READ1="1"' to preload the read1.so library into expect. Currently only enabled for glibc/GNU systems, and if build==host==target. gdb/testsuite/ChangeLog: * Makefile.in (EXTRA_RULES, CC): New variables, get from configure. (EXPECT): Handle READ1 being set. (all): Depend on EXTRA_RULES. (check-read1, expect-read1, read1.so, read1): New rules. * README (Testsuite Parameters): Document the READ1 make variable. (Race detection): New section. * configure: Regenerate. * configure.ac: If build==host==target, and running under a GNU/glibc system, add read1 to the extra Makefile rules. (EXTRA_RULES): AC_SUBST it. * lib/read1.c: New file. gdb/ChangeLog: * Makefile.in (check-read1): New rule. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 4 ++ gdb/Makefile.in | 8 ++++ gdb/testsuite/ChangeLog | 16 +++++++ gdb/testsuite/Makefile.in | 44 ++++++++++++++++++-- gdb/testsuite/README | 41 ++++++++++++++++++ gdb/testsuite/configure | 10 ++++ gdb/testsuite/configure.ac | 9 ++++ .../expect-read1.c => testsuite/lib/read1.c} | 16 ++++---- 8 files changed, 136 insertions(+), 12 deletions(-) copy gdb/{contrib/expect-read1.c => testsuite/lib/read1.c} (80%) -- You are receiving this mail because: You are on the CC list for the bug.