This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

POSIX Semaphore under gdb


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]