[Xenomai] Gdb freezes when stepping through rt_task_spawn.

Philippe Gerum rpm at xenomai.org
Thu Jun 12 16:31:52 CEST 2014

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
> upgrade.

There is no other option.

> I have found another problem with gdb:
> when I have multiple tasks pending on rt_sem_p,
> if I change the state of breakpoints, the function can return error code
> -38.
> May be that the same commit can resolve both problems.

It most likely does.

> Thank you very much
> Marco Tessore
> Il 10/06/2014 22:02, Gilles Chanteperdrix ha scritto:
>> On 06/10/2014 11:18 AM, Marco Tessore wrote:
>>> Hello,
>>> I have a problem, you've probably already dealt with in the past:
>>> when I debug with gdb / gdbserver, if I execute step by step while I
>>> invoke the call rt_task_spawn, gdb freezes with no chance of recovery.
>>> Since I have seen that you have already faced the problem a few years
>>> ago, I was wondering if you had found a solution.
>> Did you try xenomai 2.6 git? An issue was fixed very recently with
>> regard to gdb (it is actually the latest commit on this branch).
> _______________________________________________
> Xenomai mailing list
> Xenomai at xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai


More information about the Xenomai mailing list