New thread events printing ("New Thread 0x40077950 (LWP 13229)]") was recently centralised in add_thread. Unfortunatelly it brought with it a behaviour change. Before, we wouldn't paginate when these events filled the terminal screen, and now we do. This is quite bad, as gdb now waits for use input to proceed. Also, since add_thread doesn't target_terminal_ours, gdb just stops due to SIGTTOU when the pagination kicks in ("want to continue y or n" prompt). User now has to fg to restore it... Easilly reproduced by running manythreads.exp manually. This patch restores the old behaviour. OK? -- Pedro Alves