Re-do multi-line tests using gdb_expect_list().