This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/12649] reproducer for races of expect incomplete reads


https://sourceware.org/bugzilla/show_bug.cgi?id=12649

--- Comment #15 from cvs-commit at gcc dot gnu.org <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 <palves@redhat.com>
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]