[patch] Simply ia64-sigill.exp

Yao Qi yao@codesourcery.com
Wed Jun 22 11:00:00 GMT 2011


In my port, pthread_cond_signal/pthread_cond_wait don't work properly,
and some tests in ia64-sigill.exp fails.

This patch is to replace calls to pthread_cond_signal/pthread_cond_wait
with "set-and-check" on variable thread1_tid and thread2_tid, to still
keep the happen-before relationship between threads.

Test result is unchanged on x86_64-unknown-linux-gnu.  OK for mainline?

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-simplify-ia64-sigill.patch
Type: text/x-patch
Size: 2356 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110622/4913c890/attachment.bin>


More information about the Gdb-patches mailing list