Hi, gdb lets other threads continue execution during single stepping when doing a single step in remote mode. This behavior causes thread switches during step or next commands. Native mode behavior is opposite of it. Attached patch changes it and makes it similar to native mode. -Amit