All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Valgrind and xenomai?
@ 2006-03-16 21:07 Josh Bowman
  2006-03-17 18:59 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Bowman @ 2006-03-16 21:07 UTC (permalink / raw)
  To: xenomai

Has anyone made Valgrind work on a xenomai user-space application?

My attempts so far (with valgrind 2.4.0 and 3.1.0 from gentoo) has lead to:

  --25174-- WARNING: unhandled syscall: 555
  --25174-- Do not panic.  You may be able to fix this easily.
  --25174-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
  Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
  (modprobe xeno_native?)

The native skin *was* loaded (the program runs without valgrind).  I
think this means that valgrind needs to have code added to handle the
xenomai system calls-- but I could find no mention of xenomai on
valgrind.org (including the release notes archives).

Thanks in advance!
Josh Bowman




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Valgrind and xenomai?
  2006-03-16 21:07 [Xenomai-help] Valgrind and xenomai? Josh Bowman
@ 2006-03-17 18:59 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-03-17 18:59 UTC (permalink / raw)
  To: Josh Bowman; +Cc: xenomai

Josh Bowman wrote:
 > Has anyone made Valgrind work on a xenomai user-space application?
 > 
 > My attempts so far (with valgrind 2.4.0 and 3.1.0 from gentoo) has lead to:
 > 
 >   --25174-- WARNING: unhandled syscall: 555
 >   --25174-- Do not panic.  You may be able to fix this easily.
 >   --25174-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
 >   Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
 >   (modprobe xeno_native?)
 > 
 > The native skin *was* loaded (the program runs without valgrind).  I
 > think this means that valgrind needs to have code added to handle the
 > xenomai system calls

Yes, I am afraid. And looking at README_MISSING_SYSCALL_OR_IOCTL, there
is a lot of code to add.

But there is a way to run your programs with valgrind: use Xenomai
discrete event simulator, configured with the --enable-atomic-core
flag.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-17 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 21:07 [Xenomai-help] Valgrind and xenomai? Josh Bowman
2006-03-17 18:59 ` Gilles Chanteperdrix

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.