Problem using gdb in multithreaded application
aref.taidi at newera-computing.com
Mon Oct 29 17:43:49 CET 2007
I have a multithreaded application with all threads in user space and as
hard real-time. The memory is shared although at this stage no other
Linux process has been given access to it.
I am trying to debug it using gdb as I have some experience using it but
having a lot of problems with it. I would like to know some of the
experiences others have had using gdb with RTAI tasks. What things to do
and what not to do and generally the pit falls to watch for.
My simplest problem is that I cannot examine function local variables -
gdb displays the following error message:
No symbol "" in current context.
I have compiled the programme with various debug options using gcc
version 4.1.0, for example -g, -ggdb still no difference.
Is gdb suitable for this type of application? Could somebody recommend a
more robust and reliable debugging tool please?
Many thanks in advance.
More information about the Rtai