Message-ID: Content-Type: multipart/alternative; boundary="_87266f3b-b829-4bbd-a048-a41099f78f52_" From: Stephen Davies Date: Thu, 15 Jan 2009 12:38:07 +0000 In-Reply-To: <496F2281.2000102@domain.hid> References: <496F2281.2000102@domain.hid> MIME-Version: 1.0 Subject: Re: [Xenomai-help] Debugger Support List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jan.kiszka@domain.hid Cc: xenomai@xenomai.org --_87266f3b-b829-4bbd-a048-a41099f78f52_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Jan=2C =20 Thanks for your quick reply. Just to be clear I would be able to debug har= d real time threads using GDB with no patches applied to it? That would be= a massive step forward for me! =20 Thanks again=2C =20 Stevee> Date: Thu=2C 15 Jan 2009 12:48:17 +0100> From: jan.kiszka@domain.hid= om> To: steve_davies61@domain.hid> CC: xenomai@xenomai.org> Subject: Re: = Debugger Support> > Stephen Davies wrote:> > Hi All=2C> > > > I currently h= ave an application that runs under RTAI however I am now> > having problems= that I wish to debug. Debugger support for RTAI is> > limited at best (cur= rently the only option we have is to use> > rt_printk() or printf() to the = console). I've been looking back at> > Xenomai and I see a lot of reference= s to LTTng support which would be> > ideal and would mean I would port my R= TAI app to Xenomai. However> > these references seem to all die out around = 2007. Is there still> > support for a "proper" debugger (stepping through c= ode=2C variable> > values etc...) in the current release of Xenomai?> > LTT= ng is actively supported over Xenomai=2C we just still need additional> fid= dling with the patch series as LTTng is not yet mainline. We are> using it = here over 2.6.26 ATM=2C I think I just missed to post the (rather> simple) = update from the published 2.6.24 version. And I'm about to port> them to th= e next kernel base (either 2.6.27 or .28).> > Beside the LTTng tracer there= is also source-level debugging=2C of course.> gdb for the apps=2C kgdb for= the kernel (x86) - or via KVM=2C ie. kernel> source-level debugging inside= a virtual x86 machine. kgdb just needs> some extra patches which I didn't = update to 2.6.27 yet because I'm using> KVM now.> > Jan> > -- > Siemens AG= =2C Corporate Technology=2C CT SE 26> Corporate Competence Center Embedded = Linux _________________________________________________________________ Imagine a life without walls.=A0 See the possibilities http://clk.atdmt.com/UKM/go/122465943/direct/01/= --_87266f3b-b829-4bbd-a048-a41099f78f52_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Jan=2C
 =3B
Thanks for your quick reply. =3B Just to be clear I would be able to de= bug hard real time threads using GDB with no patches applied to it? =3B= That would be a massive step forward for me!
 =3B
Thanks again=2C
 =3B
Stevee

>=3B Date: Thu=2C 15 Jan 2009 12:48:17 +0100
>=3B From= : jan.kiszka@domain.hid
>=3B To: steve_davies61@domain.hid
>=3B= CC: xenomai@xenomai.org
>=3B Subject: Re: Debugger Support
>=3B=
>=3B Stephen Davies wrote:
>=3B >=3B Hi All=2C
>=3B >= =3B
>=3B >=3B I currently have an application that runs under RTAI = however I am now
>=3B >=3B having problems that I wish to debug. Deb= ugger support for RTAI is
>=3B >=3B limited at best (currently the o= nly option we have is to use
>=3B >=3B rt_printk() or printf() to th= e console). I've been looking back at
>=3B >=3B Xenomai and I see a = lot of references to LTTng support which would be
>=3B >=3B ideal an= d would mean I would port my RTAI app to Xenomai. However
>=3B >=3B = these references seem to all die out around 2007. Is there still
>=3B = >=3B support for a "proper" debugger (stepping through code=2C variable>=3B >=3B values etc...) in the current release of Xenomai?
>=3B=
>=3B LTTng is actively supported over Xenomai=2C we just still need = additional
>=3B fiddling with the patch series as LTTng is not yet mai= nline. We are
>=3B using it here over 2.6.26 ATM=2C I think I just mis= sed to post the (rather
>=3B simple) update from the published 2.6.24 = version. And I'm about to port
>=3B them to the next kernel base (eith= er 2.6.27 or .28).
>=3B
>=3B Beside the LTTng tracer there is al= so source-level debugging=2C of course.
>=3B gdb for the apps=2C kgdb = for the kernel (x86) - or via KVM=2C ie. kernel
>=3B source-level debu= gging inside a virtual x86 machine. kgdb just needs
>=3B some extra pa= tches which I didn't update to 2.6.27 yet because I'm using
>=3B KVM n= ow.
>=3B
>=3B Jan
>=3B
>=3B --
>=3B Siemens AG= =2C Corporate Technology=2C CT SE 26
>=3B Corporate Competence Center = Embedded Linux



Choose the perfect PC or mobile phone for= you. Click here = --_87266f3b-b829-4bbd-a048-a41099f78f52_--