[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debugging MT programs (slink) ?



Hi, All

i tried to debug simple MT program.
It's book example and works fine on Linux and Solaris - i'm
just testing how debugging works.

Judging from GDB i have (4.17-4.m68k.objc.threads.hwwp.fpu.gnat.2)
it does support debugging of threaded programs.

I just don't get how it supposed to work...

in the main i put break before pthread_create and immediatelly
after pthread_create. In the freshly born thread i put break 
immediatelly after the thread routine declaration.
Ok, i started the run under gdb but it there is no break in
thread routine, and DDD shows nothing in it's Threads window.

questions:

1. is this a bug in GDB?

2. DDD ?

3. I did something wrong?

thank you

OK


Reply to: