* [Xenomai-help] Debugger Support
@ 2009-01-15 10:56 Stephen Davies
2009-01-15 11:48 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Davies @ 2009-01-15 10:56 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
Hi All,
I currently have 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 (currently 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 references to LTTng support which would be ideal and would mean I would port my RTAI app to Xenomai. However these references seem to all die out around 2007. Is there still support for a "proper" debugger (stepping through code, variable values etc...) in the current release of Xenomai?
Thanks for your help,
Steve
_________________________________________________________________
Cut through the jargon: find a PC for your needs.
http://clk.atdmt.com/UKM/go/130777504/direct/01/
[-- Attachment #2: Type: text/html, Size: 1068 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Debugger Support
2009-01-15 10:56 [Xenomai-help] Debugger Support Stephen Davies
@ 2009-01-15 11:48 ` Jan Kiszka
2009-01-15 12:38 ` Stephen Davies
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2009-01-15 11:48 UTC (permalink / raw)
To: Stephen Davies; +Cc: xenomai
Stephen Davies wrote:
> Hi All,
>
> I currently have 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 (currently 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 references to LTTng support which would be
> ideal and would mean I would port my RTAI app to Xenomai. However
> these references seem to all die out around 2007. Is there still
> support for a "proper" debugger (stepping through code, variable
> values etc...) in the current release of Xenomai?
LTTng is actively supported over Xenomai, we just still need additional
fiddling with the patch series as LTTng is not yet mainline. We are
using it here over 2.6.26 ATM, 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 the next kernel base (either 2.6.27 or .28).
Beside the LTTng tracer there is also source-level debugging, of course.
gdb for the apps, kgdb for the kernel (x86) - or via KVM, 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, Corporate Technology, CT SE 26
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Debugger Support
2009-01-15 11:48 ` Jan Kiszka
@ 2009-01-15 12:38 ` Stephen Davies
2009-01-15 13:29 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Davies @ 2009-01-15 12:38 UTC (permalink / raw)
To: jan.kiszka; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]
Hi Jan,
Thanks for your quick reply. Just to be clear I would be able to debug hard real time threads using GDB with no patches applied to it? That would be a massive step forward for me!
Thanks again,
Stevee> Date: Thu, 15 Jan 2009 12:48:17 +0100> From: jan.kiszka@domain.hidom> To: steve_davies61@domain.hid> CC: xenomai@xenomai.org> Subject: Re: Debugger Support> > Stephen Davies wrote:> > Hi All,> > > > I currently have 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 (currently 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 references to LTTng support which would be> > ideal and would mean I would port my RTAI app to Xenomai. However> > these references seem to all die out around 2007. Is there still> > support for a "proper" debugger (stepping through code, variable> > values etc...) in the current release of Xenomai?> > LTTng is actively supported over Xenomai, we just still need additional> fiddling with the patch series as LTTng is not yet mainline. We are> using it here over 2.6.26 ATM, 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 the next kernel base (either 2.6.27 or .28).> > Beside the LTTng tracer there is also source-level debugging, of course.> gdb for the apps, kgdb for the kernel (x86) - or via KVM, 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, Corporate Technology, CT SE 26> Corporate Competence Center Embedded Linux
_________________________________________________________________
Imagine a life without walls. See the possibilities
http://clk.atdmt.com/UKM/go/122465943/direct/01/
[-- Attachment #2: Type: text/html, Size: 2457 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Debugger Support
2009-01-15 12:38 ` Stephen Davies
@ 2009-01-15 13:29 ` Jan Kiszka
0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2009-01-15 13:29 UTC (permalink / raw)
To: Stephen Davies; +Cc: xenomai
Stephen Davies wrote:
> Hi Jan,
>
> Thanks for your quick reply. Just to be clear I would be able to debug hard real time threads using GDB with no patches applied to it? That would be a massive step forward for me!
Yes. Debugging real-time apps in general is not always straightforward.
So you may be forced to apply some smart methods to avoid gdb disturbing
your real-time constraints already before you get to the interesting
point. But this is (in most cases) nothing Xenomai specific.
Jan
--
Siemens AG, Corporate Technology, CT SE 26
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-15 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 10:56 [Xenomai-help] Debugger Support Stephen Davies
2009-01-15 11:48 ` Jan Kiszka
2009-01-15 12:38 ` Stephen Davies
2009-01-15 13:29 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.