POSIX Semaphore under gdb

jigisha@spectross.com jigisha@spectross.com
Thu Apr 12 08:03:00 GMT 2007


Hi,

I am trying to debug a multithreaded prog in DDD and facing unexpected
behaviour of semaphores.

When i run my prog(without DDD) it runs normally but when i run it with
DDD it gets all sempahores posted intially.

I am intialising all semaphored by sem_init to 0.

Please suggest something

Thanks a lot.



More information about the Gdb mailing list