Issue #31: robot-framework: Add regression test for attach-process-with-threads
Issue #31: ptrace: Correct handling of attach-to-multithreaded-process

Implementation taken from gdb. Should be refactored quite a bit!