What Type Of Compilers Can We Use In Vxworks And How Can We Debug Two Threads Bu Using Gdb Tool In Linux?

November 20th, 2009 by admin | Filed under Thread Debugging

I am trying to debug two threads by using GDB tool…..Can any body suggest or provide me procedure how i have to do that….
and one more can any body mention name of the complires for Vxworks

Related Posts:

tag_iconTags: | | | | | | |

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

1 Response to “What Type Of Compilers Can We Use In Vxworks And How Can We Debug Two Threads Bu Using Gdb Tool In Linux?”.

  1. YERRAM N :

    I can’t address the vxworks question, but I do write and
    debug multithreaded code on Linux. First, gdb is pretty
    lame regarding threads; I gave up on it. Instead, I’d
    suggest downloading Sun Studio 12 for Linux from:http://developers.sun.com/sunstudio/down…
    or Sun Studio Express for Linux from:http://developers.sun.com/sunstudio/down…
    These tools (compilers/debuggers) are free to download and
    use or $10 if you want them on a DVD.
    Once you’re in dbx, type:
    help thread
    To see how to dump the status of any thread(s), suspend or
    resume any thread, show which syncrhonization primitives
    are being used by a thread, dump each thread stack, etc.
    Also, the tool set includes a performance analyzer which
    is thread aware (ie. lets you see which threads block
    at which points at which times).
    I’m a big GNU fan, but in this case, the GNU tool set is
    inferior to the free tools from Sun.

Leave a comment.

To leave a comment, please fill in the fields below.

Powered by Yahoo! Answers