[Xenomai-core] [PATCH 2.6] mayday: Fix code setup for x86 and blackfin

2012-01-25 Thread Jan Kiszka
The code structures on x86 were broken as the compiler aligned the internal layout. The same may have happened on blackfin. Fix it by applying a packed tag on the enclosing structures. Signed-off-by: Jan Kiszka --- Haven't checked Xenomai 3 yet, it may be affected as well. include/asm-blackfin

[Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Jan Kiszka
We had two regressions in this code recently. So test all 6 possible SIGDEBUG reasons, or 5 if the watchdog is not available. Signed-off-by: Jan Kiszka --- src/testsuite/unit/Makefile.am | 16 +++- src/testsuite/unit/sigdebug.c | 233 2 files changed,

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Gilles Chanteperdrix
On 01/25/2012 05:21 PM, Jan Kiszka wrote: > We had two regressions in this code recently. So test all 6 possible > SIGDEBUG reasons, or 5 if the watchdog is not available. Ok for this test, with a few remarks: - this is a regression test, so should go to src/testsuite/regression(/native), and shou

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Jan Kiszka
On 2012-01-25 17:35, Gilles Chanteperdrix wrote: > On 01/25/2012 05:21 PM, Jan Kiszka wrote: >> We had two regressions in this code recently. So test all 6 possible >> SIGDEBUG reasons, or 5 if the watchdog is not available. > > Ok for this test, with a few remarks: > - this is a regression test,

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Jan Kiszka
On 2012-01-25 17:47, Jan Kiszka wrote: > On 2012-01-25 17:35, Gilles Chanteperdrix wrote: >> On 01/25/2012 05:21 PM, Jan Kiszka wrote: >>> We had two regressions in this code recently. So test all 6 possible >>> SIGDEBUG reasons, or 5 if the watchdog is not available. >> >> Ok for this test, with a

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Gilles Chanteperdrix
On 01/25/2012 05:52 PM, Jan Kiszka wrote: > On 2012-01-25 17:47, Jan Kiszka wrote: >> On 2012-01-25 17:35, Gilles Chanteperdrix wrote: >>> On 01/25/2012 05:21 PM, Jan Kiszka wrote: We had two regressions in this code recently. So test all 6 possible SIGDEBUG reasons, or 5 if the watchdog

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Jan Kiszka
On 2012-01-25 18:02, Gilles Chanteperdrix wrote: > On 01/25/2012 05:52 PM, Jan Kiszka wrote: >> On 2012-01-25 17:47, Jan Kiszka wrote: >>> On 2012-01-25 17:35, Gilles Chanteperdrix wrote: On 01/25/2012 05:21 PM, Jan Kiszka wrote: > We had two regressions in this code recently. So test all

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Gilles Chanteperdrix
On 01/25/2012 06:10 PM, Jan Kiszka wrote: > On 2012-01-25 18:02, Gilles Chanteperdrix wrote: >> On 01/25/2012 05:52 PM, Jan Kiszka wrote: >>> On 2012-01-25 17:47, Jan Kiszka wrote: On 2012-01-25 17:35, Gilles Chanteperdrix wrote: > On 01/25/2012 05:21 PM, Jan Kiszka wrote: >> We had tw

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Jan Kiszka
On 2012-01-25 18:44, Gilles Chanteperdrix wrote: > On 01/25/2012 06:10 PM, Jan Kiszka wrote: >> On 2012-01-25 18:02, Gilles Chanteperdrix wrote: >>> On 01/25/2012 05:52 PM, Jan Kiszka wrote: On 2012-01-25 17:47, Jan Kiszka wrote: > On 2012-01-25 17:35, Gilles Chanteperdrix wrote: >> On

Re: [Xenomai-core] [PATCH] Add sigdebug unit test

2012-01-25 Thread Gilles Chanteperdrix
On 01/25/2012 06:10 PM, Jan Kiszka wrote: > On 2012-01-25 18:02, Gilles Chanteperdrix wrote: >> On 01/25/2012 05:52 PM, Jan Kiszka wrote: >>> On 2012-01-25 17:47, Jan Kiszka wrote: On 2012-01-25 17:35, Gilles Chanteperdrix wrote: > On 01/25/2012 05:21 PM, Jan Kiszka wrote: >> We had tw