From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Kolja Waschk <xenoka09@domain.hid>
Cc: Xenomai GNA <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] gdb/gdbserver and pthread_cond_wait
Date: Sat, 01 Jan 2011 23:02:15 +0100 [thread overview]
Message-ID: <4D1FA467.2030607@domain.hid> (raw)
In-Reply-To: <alpine.DEB.1.10.1012281925410.23472@domain.hid>
Kolja Waschk wrote:
>>> posix-cond-torture test case to verify that what was supposed to be
>
> As a side note, cond-torture-native (not -posix) locks up with gdbserver/gdb after
> displaying just "simple_condwait". My problems seem to be not just related to the POSIX skin.
Ok. I can confirm I am unable to reproduce this issue on the NPTL based
setups I have access to, the LD_ASSUME_KERNEL environment variable no
longer seems to do the trick to force linuxthreads. So, I could not test
a linuxthreads based system.
Your issue seems to be that the condvar waiting syscall is restarted
whereas it should not, and indeed, native and posix condition variables
work the same way. To move forward, we should follow the syscall path
and see at what point it is restarted whereas it should not when running
under gdb.
--
Gilles.
prev parent reply other threads:[~2011-01-01 22:02 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 17:30 [Xenomai-help] gdb/gdbserver hangs during rt_task_create Kolja Waschk
2010-12-21 20:03 ` Gilles Chanteperdrix
2010-12-22 9:30 ` Kolja Waschk
2010-12-22 12:11 ` Kolja Waschk
2010-12-22 12:38 ` Kolja Waschk
2010-12-22 13:50 ` Philippe Gerum
2010-12-22 14:14 ` Kolja Waschk
2010-12-22 14:17 ` Philippe Gerum
2010-12-22 14:20 ` Philippe Gerum
2010-12-22 15:25 ` Kolja Waschk
2010-12-22 15:29 ` Philippe Gerum
2010-12-22 17:18 ` Kolja Waschk
2010-12-22 18:13 ` Kolja Waschk
2010-12-22 18:28 ` Philippe Gerum
2010-12-22 19:00 ` Kolja Waschk
2010-12-23 8:53 ` Philippe Gerum
2010-12-23 21:43 ` Gilles Chanteperdrix
2010-12-23 21:55 ` Waschk,Kolja
2010-12-23 22:13 ` Gilles Chanteperdrix
2010-12-22 22:26 ` Gilles Chanteperdrix
2010-12-27 14:44 ` [Xenomai-help] gdb/gdbserver and pthread_cond_wait (was: gdb/gdbserver hangs...) Kolja Waschk
2010-12-27 16:31 ` Philippe Gerum
2010-12-27 16:53 ` Kolja Waschk
[not found] ` <alpine.DEB.1.10.1012271744460.20479@domain.hid>
2010-12-27 17:13 ` Philippe Gerum
2010-12-27 17:27 ` Kolja Waschk
2010-12-27 19:59 ` Philippe Gerum
2010-12-28 9:50 ` Kolja Waschk
2010-12-28 16:42 ` [Xenomai-help] gdb/gdbserver and pthread_cond_wait Gilles Chanteperdrix
2010-12-28 18:21 ` Kolja Waschk
2010-12-28 18:30 ` Kolja Waschk
2011-01-01 22:02 ` Gilles Chanteperdrix [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D1FA467.2030607@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenoka09@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.