Skip to contentSkip to conversation

Debugging

Xenomai-help Kent Borg 2 participants 2 messages Jan 17, 2006 – Jan 18, 2006

lore
Share & tools
lore

Kent Borg

author
#0 lore raw

It occurs to me I have been lax in my understanding of how debugging works with Xenamai.

- What happens if I just use gdb and pretend I am debugging a regular program? (Seems scary, but it seems to work at least somewhat for me.)

- What is UVM for? Sounds interesting, but the "make xconfig" help for it says it is for legacy RTOS APIs and I am mostly doing native calls. What is the difference?

- How about MVM? It sounds interesting too. Do I just configure it in and grab it on with gdb??

I notice that the string "debug" doesn't seem to appear in the thread indexes for this list, so I don't think I am asking a frequent question...

Thanks,

-kb

#1 lore raw
Quoted 6 lines · Kent Borg

It occurs to me I have been lax in my understanding of how debugging works with Xenamai.

- What happens if I just use gdb and pretend I am debugging a regular program? (Seems scary, but it seems to work at least somewhat for me.)

It should work. Or at least is it the intention.

Quoted 3 lines

- What is UVM for? Sounds interesting, but the "make xconfig" help for it says it is for legacy RTOS APIs and I am mostly doing native calls. What is the difference?

To know more about UVMs, have a look at:
http://download.gna.org/xenomai/documentation/branches/v2.0.x/pdf/Introduction-to-UVMs.pdf

Quoted 3 lines

- How about MVM? It sounds interesting too. Do I just configure it in and grab it on with gdb??

The MVM is a discrete event simulator, working hand in hand with an instrumenting compiler and a "real-time aware" graphical frontend for gdb. In order to use it, you first have to configure and install it.

You will have to compile your applications for this simulation environment using "gcic" the instrumenting compiler, and run them through "xenoscope", the gdb graphical frontend.

For examples of programs using the native skin, which can be compiled for MVM, see the directory:
skins/native/demos

For the MVM full documentation, see:
sim/doc/mvm-manual.txt

Signature · 1 line
					    Gilles Chanteperdrix.