>  whether it is possible to use one module rtl_debug.o to debug different modules
>  separately used by two people, i faced probelm while doing this.

No, it's not possible. There's no concept of ownership of RTLinux
threads; only root can create them anyway.

> i am unable to set or print the varianbles some times  via gdb ( just command line , 
>not using GDB)
> like the context is as follws
>  1) global variables of a file( assume here i am having only one file) in a module

Probably a bug in gdb. Try explicitely initializing your global variables,
for example to 0.

>   2) local variable in functions otherthan threads.
>     printing and    setiing the variables in threads is working properly?

gcc sometimes optimizes local variables away. You need to compile your module
without -fomit-frame-pointer and/or without -O2.

Michael..

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to