What should be implemented within the binutils simulator such that gdb "info threads" sees it ? I tried using fork() within sim_create_inferior() but GDB would behave erratically. Is there any example I could be pointed to ?