[unix] How to attach a process in gdb