I've checked in the below to make GDB not assert in MI mode on targets where single-threaded programs have zero threads in the GDB thread table. - Volodya