From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5399AD6C.8070905@axelsw.it> Date: Thu, 12 Jun 2014 15:38:52 +0200 From: Marco Tessore MIME-Version: 1.0 References: <5396CD6D.8060806@axelsw.it> <5397644B.9060806@xenomai.org> In-Reply-To: <5397644B.9060806@xenomai.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Gdb freezes when stepping through rt_task_spawn. List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix , xenomai@xenomai.org 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. 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. 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). > >