[Xenomai] Gdb freezes when stepping through rt_task_spawn.
gilles.chanteperdrix at xenomai.org
Thu Jun 12 23:45:16 CEST 2014
On 06/12/2014 10:51 PM, Philippe Gerum wrote:
> On 06/12/2014 07:58 PM, Gilles Chanteperdrix wrote:
>> On 06/12/2014 03:38 PM, Marco Tessore wrote:
>>> Thank you, I will try that commit.
>>> But I have another question about it:
>>> does the commit involve the patch to the kernel?
>>> Since my kernel was patched using i-pipe git for the vanilla 3.10, but
>>> applied to a customized version of 3.11,
>>> if the commit involves the kernel patch, it can be difficult for me to
>> If you kept the ipipe kernel separated from Xenomai kernel sources, the
>> change is a change in xenomai sources, so the update should be painless.
>> If you put the xenomai-patched kernel under source control, then it will
>> be harder.
> ENOSYS would rather be symptomatic of this bug which is ARM-specific:
Indeed. This fix for 3.10 does not seem right though. The real fix is
to move the local_restart jump label, as in:
> OTOH, the patch below fixes a spurious EINTR error within the task
> creation syscall, which may well end up in a lockup:
> This is one of the situations where knowing the CPU architecture
> involved would help a lot.
Yes, indeed, should have directed to the "Request for information" page.
More information about the Xenomai