This is the mail archive of the gdb-cvs@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]

gdb and binutils branch master updated. b8b91e982ec3235a24ce052cbd8bb0e4fe1464e0


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  b8b91e982ec3235a24ce052cbd8bb0e4fe1464e0 (commit)
      from  872a9dd8819dc701e19f6e6f3e15a320e5b08b67 (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=b8b91e982ec3235a24ce052cbd8bb0e4fe1464e0

commit b8b91e982ec3235a24ce052cbd8bb0e4fe1464e0
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Jun 5 15:07:47 2014 +0800

    Fix the race in gdb.threads/staticthreads.exp
    
    The code in gdb.threads/staticthreads.exp about checking the value of
    tlsvar in main thread is racy, because when child thread hits
    breakpoint, the main thread may not go into pthread_join yet, and
    may not be unwind to main.
    
    This patch is to move the line setting breakpoint on after sem_wait,
    so that the child thread will hit breakpoint after main thread calls
    sem_post.  IOW, when child thread hits breakpoint, the main thread is
    in either sem_post or pthread_join.  "up 10" can unwind main thread to
    main.
    
    gdb/testsuite:
    
    2014-06-06  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.threads/staticthreads.c (thread_function): Move the line
    	setting breakpoint on forward.
    	* gdb.threads/staticthreads.exp: Update comments.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog                     |    6 ++++++
 gdb/testsuite/gdb.threads/staticthreads.c   |    2 +-
 gdb/testsuite/gdb.threads/staticthreads.exp |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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