gdb/testsuite/ Fix ERROR: internal buffer is full. * gdb.base/info-os.exp (expect_multiline): New function. (get process list, get process groups, get threads) (get file descriptors, get internet-domain sockets) (get shared-memory regions, get semaphores, get message queues): Use it for these tests.