Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread zenati
On 07/27/2011 06:16 PM, Jan Kiszka wrote: On 2011-07-27 18:13, zenati wrote: On 07/27/2011 02:12 PM, Jan Kiszka wrote: On 2011-07-27 14:01, zenati wrote: On 07/27/2011 11:23 AM, Jan Kiszka wrote: On 2011-07-26 13:54, zenati wrote: Dear, I'm trying to debug Xenomai kernel with GDB and Qemu.

Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread Jan Kiszka
On 2011-07-27 18:13, zenati wrote: > On 07/27/2011 02:12 PM, Jan Kiszka wrote: >> On 2011-07-27 14:01, zenati wrote: >>> On 07/27/2011 11:23 AM, Jan Kiszka wrote: On 2011-07-26 13:54, zenati wrote: > Dear, > > I'm trying to debug Xenomai kernel with GDB and Qemu. QEMU in emula

Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread zenati
On 07/27/2011 02:12 PM, Jan Kiszka wrote: On 2011-07-27 14:01, zenati wrote: On 07/27/2011 11:23 AM, Jan Kiszka wrote: On 2011-07-26 13:54, zenati wrote: Dear, I'm trying to debug Xenomai kernel with GDB and Qemu. QEMU in emulation or KVM mode? I'm using Qemu in emulation mode. What's you

Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread Jan Kiszka
On 2011-07-27 14:01, zenati wrote: > On 07/27/2011 11:23 AM, Jan Kiszka wrote: >> On 2011-07-26 13:54, zenati wrote: >>> Dear, >>> >>> I'm trying to debug Xenomai kernel with GDB and Qemu. >> QEMU in emulation or KVM mode? >> > I'm using Qemu in emulation mode. What's your target arch? x84-64, x86

Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread zenati
On 07/27/2011 11:23 AM, Jan Kiszka wrote: On 2011-07-26 13:54, zenati wrote: Dear, I'm trying to debug Xenomai kernel with GDB and Qemu. QEMU in emulation or KVM mode? I'm using Qemu in emulation mode. So, I launch Xenomai in Qemu and make it waiting for GDB. Then I start GDB and connect th

Re: [Xenomai-core] Debugging Xenomai kernel

2011-07-27 Thread Jan Kiszka
On 2011-07-26 13:54, zenati wrote: > Dear, > > I'm trying to debug Xenomai kernel with GDB and Qemu. QEMU in emulation or KVM mode? > So, I launch > Xenomai in Qemu and make it waiting for GDB. Then I start GDB and > connect them to Qemu, make breakpoint at the desired function to debug > and st

[Xenomai-core] Debugging Xenomai kernel

2011-07-26 Thread zenati
Dear, I'm trying to debug Xenomai kernel with GDB and Qemu. So, I launch Xenomai in Qemu and make it waiting for GDB. Then I start GDB and connect them to Qemu, make breakpoint at the desired function to debug and start Xenomai. If the function belongs to the linux kernel, the execution stop