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.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to