From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F8AD9E6.1040005@domain.hid> Date: Sun, 15 Apr 2012 16:23:34 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] rt_event_wait makes linux crash if executed while debugging with gdbserver List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fabio Visona Cc: xenomai@xenomai.org On 04/13/2012 04:49 PM, Fabio Visona wrote: > Hello, > > I am trying to debug a Xenomai task through gdbserver over ethernet, with: > > gdbserver host:12345 --attach 240 > > where 240 is the PID of the Xenomai real-time task I want to debug. You are supposed to debug the whole process, not attach to just one thread. So, you should pass the pid of the process main thread. > Execution crashes at EXCPT 0x0, which should be a system call, according > to Xenomai sources (syscall.h). > > Xenomai version is 2.5.3, Linux 2.6.34.7, running on a Blackfin BF518 > processor. Please try with xenomai 2.5.6, and if it does not work, it would be nice if you could try 2.6.0. -- Gilles.