sparc multi thread debugger (that works?)

sparc multi thread debugger (that works?)

Post by kg » Fri, 09 Feb 2001 08:43:14



I am having a hard time finding a solaris (sparc) de* that actually
works on posix threaded c programs. Main problem is the inability to control
the execution of the threads separately.  Most tools (GNU gdb, sun's forte)
seem to allow the user to single step the current thread, but all other
threads are allowed to run wild. We need to control the interaction of all
of our various threads in a program - i.e. single step thread 1, then step
thread 2 a few times, then go back to thread 1 again, but the de*s seem
to ignore the other threads.

In practice the GNU gdb/ddd combination did not even stay with the same
thread - performing a single step in thread A left me stopped in thread B!

Sun's dbx command line product actually provides the support, but you have
to enter the LWP thread id on every command which is very cumbersome. By
typing in "next <lwp thread id>" it actually single steps the indicated
thread and holds all other threads in place.  BUT this is a comand line only
solution. (their forte gui front end does not support the concept of current
thread properly - it actually allows concurrent threads to pass through
break points!).

This is a brand new machine with forte v6 on it.

Are there any real multi threaded de* products out there?

Note: HP's dde gui de* allows you to disable threads, thereby
preventing them from "runnng wild" while you concentrate on a single thread.

 
 
 

sparc multi thread debugger (that works?)

Post by Drazen Kac » Fri, 09 Feb 2001 09:28:33



> Are there any real multi threaded de* products out there?

Try this one:

http://www.veryComputer.com/

--
 .-.   .-.    Sarcasm is just one more service we offer.
(_  \ /  _)

     |

 
 
 

1. Debugger for graphical, multi-threaded app

Is there a good debugger for an X app that uses opengl through IRIS
Performer and is also multi-threaded.  GDB seems to choke on the thread
library I use (pthread), and also complains a lot because the program
uses dynamic linking.  I would like something similar to Visual Studio
6.0 on windows, something that can do breakpoints, stack traces, and
print outs of certain variables.  Every debugger I've run across seems
to use gdb, and gdb just doesn't like my program.  I'm using Mandrake
7.1.

If anyone can point me to a good debugger (gdb based or otherwise, I can
always take out the threads for debugging), I would appreciate it very
much.

Thanks,

Kevin

2. kview need libkfm.so.0 !

3. multi-thread debugger

4. DOING something with core

5. Source Level Multi-thread Process Viewer/Debugger for Sun Station - New Version

6. Account Setup

7. AIX 4.1 Multi-threaded debugger

8. port-problem / isa-pnp

9. Source Level Multi-thread Process Viewer/Debugger for Sun Station - New Version

10. multi-threaded debuggers

11. Source Level Multi-thread Process Viewer/Debugger for Sun Station - New Version

12. thread debugger (User threads)

13. Debugger that works for Solaris threads.