Greetings Managers,
One of our software engineers approached me with a problem he was having
with GDB on Tru64 and I was wondering if anyone has run into this
problem and perhaps has a solution for me.
Here is the message I got from him:
Sam,
Here's basically what's happening with gdb. I'm trying to debug a
multithreaded program (specifically it has 3 POSIX threads). I set a
break
point just after two worker threads have been created. At this point if
I
type 'info threads' I would expect to see at least 3 threads show up in
the
list of active threads (2 worker, and the main thread). However, 'info
threads' shows only 1 process, which is the main thread. The worker
threads
are running, as I can see their output on the screen. But they do not
show
up in the thread list. What's weird is that I can set break points down
in
the code which is executed by the worker threads, and I'll hit the break
points. But the worker threads never show up in the list of know
threads.
This is a problem, as if I were really debugging a complicated program,
I
would be unable to switch between threads easily. Gdb on a Solaris
machine,
seems to work fine and Gdb's documentation indicates it handles POSIX
threads correctly. It just doesn't work as advertised on Digital Unix .
Scott..
Here is tha background on the machine he is trying it on:
Alpha UP2000 21264 Single CPU
Tru64 4.0f patch kit 3 has been installed (all patches that
apply)
gcc 2.95.2 compiled locally from source
gdb 5.0 compiled locally from source
I appreciate any help that anyone may have to offer.
Thanks!
Sam
--
Salvatore J. Guercio
Associate UNIX Systems Administrator
Comptek Amherst Systems Inc.
(800) 631-0610 Ext. 394
sjg_at_ComptekAmherst.com
Received on Mon Oct 02 2000 - 20:25:59 NZDT