Can anyone let me know as to whether attach on already running ( multi threaded processes works on gdb 5.1 ). I have tried the attach with a non threaded program but trying to attach to a multi threaded ( pthreads ) fails. Is there an option which I am missing or is this broken? Thanks Ranjan